美文网首页
oh-my-zsh插件配置

oh-my-zsh插件配置

作者: 玉米须须 | 来源:发表于2018-12-23 19:43 被阅读0次

配置高亮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

相关文章

网友评论

      本文标题:oh-my-zsh插件配置

      本文链接:https://www.haomeiwen.com/subject/fyqifqtx.html