ubuntu安装zsh、git
我的系统是elementary os ,Ubuntu版本18.0.4
1.安装zsh
sudo apt-get install zsh
2.将默认的shell从bash改为zsh
chsh -s /bin/zsh
3.安装git,我选的github方式安装oh-my-zsh,所以先安装git
sudo apt-get install git
git --version
6.git开始会配置提交的名字和邮箱
git config --global user.name "king"
git config --global user.email "king@163.cn"
5.查看刚刚的配置
git config --list
4.安装oh-my-zsh
sudo sh -c "$(wget -O- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
oh-my-zsh github地址:https://github.com/robbyrussell/oh-my-zsh