随笔 · 2022/03/20 0

iTerm2增强体验oh-my-zsh

oh-my-zsh你值得拥有

仓库地址:https://github.com/ohmyzsh/ohmyzsh#basic-installation

首先系统要安装zsh

curl方式安装:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
iTerm2增强体验oh-my-zsh 第1张

插件

高亮插件

cd ~/.oh-my-zsh/custom/plugins/

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git

命令补全插件

cd ~/.oh-my-zsh/custom/plugins/

git clone https://github.com/zsh-users/zsh-autosuggestions

环境变量修改生效

vi ~/.zshrc
source ~/.zshrc
iTerm2增强体验oh-my-zsh 第3张
修改如图
0
希望看到您的想法,请您发表评论x