折腾了一下自己的linux的shell,更换为oh-my-zsh,并更换主题,安装提示插件。
最终效果:
1 安装
1 2 3 4 5 6 7
| yum install git yum install zsh
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh --no-check-certificate -O -)"
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
2 更换主题
1 2 3 4
| cd ~/.oh-my-zsh/themes && ls vim ~/.zshrc
source ~/.zshrc
|
3 安装插件(zsh-autosuggestions)
1 2 3 4 5
| git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions vim ~/.zshrc
source ~/.zshrc
|
最后更新时间: