oh-my-sh安装
1、命令行执行安装
sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"
2、安装插件
zsh-syntax-highlighting:git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
zsh-autosuggestions:git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
3、配置/.zshrc文件plugins 添加插件,更新.zshrc文件。
4、需要在.zshrc文件添加 source ~/.bash_profile,加载.bash_profile文件的配置项。