安裝zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
進去.zshrc,加入
plugins=(zsh-autosuggestions)
安裝zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
進入.zshrc
plugins=(zsh-syntax-highlighting)
安裝autojump
sudo apt-get install autojump
要直接補全上面的命令行,可以直接
按向上的建
————————————————
原文鏈接:https://blog.csdn.net/lxn9492878lbl/article/details/85222572