当前位置:网站首页>Zsh shell adds automatic completion and syntax highlighting

Zsh shell adds automatic completion and syntax highlighting

2022-07-07 08:03:00 Squirrel who loves coke

This article is reproduced from :
https://www.cnblogs.com/lfri/p/14217524.html

1. Download plug-ins

cd "$ZSH_CUSTOM/plugins"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
git clone https://github.com/zsh-users/zsh-autosuggestions.git

If you make a mistake , take https Change to http try .

2. To configure .zshrc file

#  Write two plug-ins to 
plugins = (git zsh-autosuggestions zsh-syntax-highlighting)

3. Configuration takes effect

source ~/.zshrc
原网站

版权声明
本文为[Squirrel who loves coke]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130646120126.html