秋逸

Linux安装oh-my-zsh

杨秋逸 · 2022-08-16

安装

sudo apt install zsh
git clone https://gitee.com/mirrors/oh-my-zsh.git
cd oh-my-zsh
sh ./tools/install.sh

下载插件

git clone https://gitee.com/qiushaocloud/zsh-autosuggestions.git ~/.oh-my-zsh/plugins/zsh-autosuggestions
git clone https://gitee.com/lightnear/zsh-syntax-highlighting.git ~/.oh-my-zsh/plugins/zsh-syntax-highlighting

然后再编辑~/.zshrc的plugins:

plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

保存更改之后在终端里输入

zsh

来更新配置