Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 416 Bytes

zsh增加高亮.md

File metadata and controls

25 lines (17 loc) · 416 Bytes

为你的zsh增加语法高亮

首先进入到zsh的插件文件夹,我用的是omz,所以要进入omz的插件文件夹

cd ~/.oh-my-zsh/custom/plugins

然后下载插件

git clone git://github.com/zsh-users/zsh-syntax-highlighting.git

然后更改.zshrc里的配置

plugins=(zsh-syntax-highlighting)

然后读取配置即时生效

source ~/.zshrc