sudo apt-get install -y zsh chsh -s /bin/zsh
$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
用文本編輯器編輯oh-my-zsh配置文件,vscode 是 code sublime是subl ubuntu自帶geidt mint自帶的xed均可以git
xed ~/.zshrc
找到,默認裝了gitgithub
plugins=(git)
改爲ubuntu
plugins=(git zsh-autosuggestions)