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  ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

  zsh-autosuggestions:git clone  ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

3、配置/.zshrc文件plugins 添加插件,更新.zshrc文件。

4、需要在.zshrc文件添加 source ~/.bash_profile,加载.bash_profile文件的配置项。



posted @ 2021-11-22 10:51  糖逗逗  阅读(164)  评论(0)    收藏  举报