ubuntu 下 zsh 插件及安装方式

安装 zsh :

sudo apt-get install zsh
chsh -s /bin/zsh

安装 oh-my-zsh :

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
plugins=(
	zsh-autosuggestions 
	zsh-syntax-highlighting
	git 
	z
	web-search
)

其中 git, z, web-search都是自带的

zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

zsh-autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
原文地址:https://www.cnblogs.com/eqvpkbz/p/14002395.html