ubuntu18.04 install zsh and oh-my-zsh

install zsh

sudo apt install zsh 

install oh-my-zsh

Oh-my-zsh is a delightful,open source,community-driven framework for managing your Zsh configuration.It comes bundled with thousands of helpful functions,helps,themes,and a few thing that make you shout…

The command of installing oh-my-zsh as follows:

	sudo apt install git 
	wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
	```

### install incr auto-completion plug-in
```linux
	sudo apt install vim 
	wget http://mimosa-pudica.net/src/incr-0.2.zsh
	sudo mkdir ~/.oh-my-zsh/plugins/incr/
	sudo mv incr-0.2.zsh ~/.oh-my-zsh/plugins/incr/incr-0.2.zsh
	sudo vim ~/.zshrc
	
	#Add at the end of the text
	source ~/.oh-my-zsh/plugins/incr/incr*.zsh
	
	#Save the configuration and exit 
	:!x
	
	#Update the configuration
	source ~/.zshrc

Change agnoster‘s theme

#install font 
sudo apt install fonts-powerline
#change configuration of zsh
vim ~/.zshrc
#modify ZSH_THEME="agnoster"
#save and exit
source ~/.zshrc
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值