Mac zsh Shell 添加自動提示

查看shells
1、cat /etc/shells
修改shell
2、chsh -s /bin/zsh
3、安裝.oh_my_sdh
4、vim .bash_profile
5、添加 export ZSH_CUSTOM=“/Users/xxx/.oh-my_zsh/custom"
6、安裝zsh-autosuggestions
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
7、vim .zshrc
8、找到plugins = (git) 修改爲 plugins = (git autosuggestions) 保存並退出
9、source .zshrc
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章