我的系统是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 "[email protected]"
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
原文地址:https://www.cnblogs.com/Molamola/p/11223378.html
时间: 2024-11-05 15:44:42