Oh My Zsh官網:http://ohmyz.sh
Mac 電腦 打開終端
輸入
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
安裝成功
卸載 Oh My Zsh
uninstall_oh_my_zsh
zsh-autosuggestions
自動提示插件
1.下載該插件到.oh-my-zsh/plugins
目錄
git clone git://github.com/zsh-users/zsh-autosuggestions
2.編輯.zshrc
文件
找到plugins=(git)
這一行,如果沒有添加。更改爲如下:
plugins=(git zsh-autosuggestions)
3.關閉終端重新打開