1 安装zsh
sudo apt install zsh
chsh -s /bin/zsh
2 安装oh-my-zsh
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
3 安装PowerLine字体
git clone https://github.com/powerline/fonts.git
chmod 755 fonts
fc-cache -fv fonts
4 主题推荐agnoster
5 zsh-autosuggestions
git clone git://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions
修改~/.zshrc
plugins = (git zsh-autosuggenstions)
6 zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/plugins/zsh-syntax-highlighting
修改~/.zshrc
plugins = (git zsh-autosuggenstions zsh-syntax-highlighting)
网友评论