配置高亮zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/plugins/zsh-syntax-highlighting
Cloning into '/Users/tian/.oh-my-zsh/plugins/zsh-syntax-highlighting'...
remote: Enumerating objects: 109, done.
remote: Counting objects: 100% (109/109), done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 5227 (delta 69), reused 90 (delta 53), pack-reused 5118
Receiving objects: 100% (5227/5227), 1.06 MiB | 81.00 KiB/s, done.
Resolving deltas: 100% (3452/3452), done.
oh-my-zsh增加插件
vi ~/.zshrc (增加如下插件)
plugins=(
git
sublime
zsh-syntax-highlighting
)
source ~/.zshrc
配置自动提示
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
vi ~/.zshrc
plugins=(
git
sublime
zsh-syntax-highlighting
zsh-autosuggestions
)
source ~/.zshrc
网友评论