下载
# 安装
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
# 建配置文件
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
# 设置zsh为默认shell
chsh -s /bin/zsh
命令行补全
# 安装
sudo curl -O http://mimosa-pudica.net/src/incr-0.2.zsh
# 创建目录
cd .oh-my-zsh/plugins/
mkdir incr
mv incr-0.2.zsh .oh-my-zsh/plugins/incr
# 家目录下执行
vim .zshrc
#在.zshrc文件末尾添加下面这行
source ~/.oh-my-zsh/plugins/incr/incr*.zsh
# 重新启动命令行即可
网友评论