Beautify you terminal (oh-my-zsh)
Environment
MacBook Air (M1, 2020)
1 | zsh --version |
Install oh-my-zsh
install via
curl
1
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
In China, try
gitee
.1
sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"
disable auto-update; uncomment the line
1
zstyle ':omz:update' mode disabled # disable automatic updates
change theme (find more official themes here)
ZSH_THEME="apple"
Plugins for oh-my-zsh
zsh-suggestion
1
2brew install zsh-autosuggestions
echo "source /opt/homebrew/Cellar/zsh-autosuggestions/0.7.0/share/zsh-autosuggestions/zsh-autosuggestions.zsh" >>~/.zshrczsh-syntax-highlighting
1
2brew install zsh-syntax-highlighting
echo "source /opt/homebrew/Cellar/zsh-syntax-highlighting/0.7.1/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >>~/.zshrc
Remember source ~/.zshrc
to activate changes.