mac终端自动提示功能

mac终端自动提示功能

https://blog.csdn.net/gavinguo1987/article/details/77943703

1. 先安装oh-my-zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

2. 安装zsh-autosuggestions

git clone git://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions

vi ~/.zshrc
# 找到plugins=(git)这一行,在下方添加一行
plugins=(git zsh-autosuggestions)
source ~/.zshrc

你可能感兴趣的:(杂记,mac)