sudo apt install zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# vim ~/.zshrc
ZSH_THEME="ys"
# sudo apt intall autojump
# vim ~/.zshrc
plugins=(git autojump)
……
source /usr/share/autojump/autojump.sh
# sudo apt install zsh-syntax-highlighting
# vim ~/.zshrc
……
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
# vim ~/.zshrc
plugins=(git autojump zsh-autosuggestions)
……
网友评论