终极 Shell--ZSH

Oh-My-Zsh的配置与使用

sudo apt-get update

sudo apt-get install zsh

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

主题

random

sporty_256

插件

zsh-autosuggestions

它是Oh-myszh的一个插件,作用基本上是根据历史输入指令的记录即时的提示,能够很大的提高效率。

1.克隆到插件目录:

插件目录:在~/.oh-my-zsh/plugins

git clone git://github.com/zsh-users/zsh-autosuggestions

2.修改配置文件.zshrc:

plugins=(git zsh-autosuggestions)

zsh-syntax-highlighting

这是一个命令高亮插件,输入为绿色时表示可用命令,路径带有下划线时表示可用路径