一.安裝
1.下载地址:http://www.zsh.org/pub/
2.解压
3. ./configure --prefix=安裝目录
4.make
5.make install
二.配置
1.安裝oh-my-zsh : https://github.com/robbyrussell/oh-my-zsh/
curl -L http://install.ohmyz.sh | sh
2.修改.zshrc
#lc add for prompt
autoload -Uz promptinit
promptinit
prompt bigfade
setopt auto_pushd
setopt no_nomatch
vi usr/share/zsh/5.0.7/functions/prompt_bigfade_setup
PS1="%B%F{$cwd}%K{black}%d$%b%f%k "
#PS1="%B%F{$cwd}%K{black}%d$%b%f%k$prompt_newline"
参考:http://www.cnblogs.com/bamanzi/p/zsh-simple-guide.html