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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章