oh-my-zsh你值得拥有
仓库地址:https://github.com/ohmyzsh/ohmyzsh#basic-installation
首先系统要安装zsh
curl方式安装:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
插件
高亮插件
cd ~/.oh-my-zsh/custom/plugins/
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
命令补全插件
cd ~/.oh-my-zsh/custom/plugins/
git clone https://github.com/zsh-users/zsh-autosuggestions
环境变量修改生效
vi ~/.zshrc
source ~/.zshrc
发表回复