秋逸

安装

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

来更新配置

Linux安装oh-my-zsh
: 杨秋逸
https://yangqiuyi.com/blog/linux/linux安装oh-my-zsh/
© 2025 杨秋逸 . All rights reserved.