Ubunt下oh my zsh的安装与配置
代码语言:javascript
复制sudo apt-get install zsh
chsh -s /bin/zsh
sh -c "$(curl -fsSL https://gitee.com/shmhlsy/oh-my-zsh-install.sh/raw/master/install.sh)"
git clone https://gitee.com/zhetianlab/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh}/plugins/zsh-autosuggestions
git clone https://gitee.com/lightnear/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh}/plugins/zsh-syntax-highlighting
sudo apt-get install autojump
vim ~/.zshrc
# plugins=(git),改为 plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
# ZSH_THEME="xiong-chiamiov-plus" 修改主题
# 让配置生效
source ~/.zshrc