項目地址
zsh -----> http://www.zsh.org
oh-my-zsh ----> http://ohmyz.sh
The last shell you’ll ever need!
I. 使用方法
為你的MAC、Linux安裝zsh
# Centos yum install zsh git -y # OSX brew install zsh git -y
II. 安裝oh-my-zsh
# via curl curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh # via wget wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh
III. 設置zsh為系統默認shell
# 為root用戶修改默認shell為zsh chsh -s /bin/zsh root # 為當前用戶修改默認shell為zsh chsh -s /bin/zsh # or chsh -s `which zsh` # 恢復命令 chsh -s /bin/bash
add to ~/.zshrc
export PATH=$PATH:/usr/local/go/bin #export PATH=$PATH:/Applications/MAMP/bin/php/php5.6.10/bin:/Users/GZM/composer:/Users/GZM/.composer/vendor/bin #export GOPATH=/Users/GZM/work/go #export GOPATH=/Volumes/Transcend/git/360/private_cloud_server_code/tools/gowork/ #export GOBIN=$GOPATH/bin #export GO15VENDOREXPERIMENT=1 LC_CTYPE=en_US.UTF-8 LC_ALL=en_US.UTF-8
IV. 插件
V. 升級
upgrade_oh_my_zsh