Mac下面配置oh-my-ssh
想了想,把微博里的转到这里来比较靠谱
配置oh-my-ssh:
1.git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
2. cp ~/.zshrc ~/.zshrc.orig (可选)备份.zshrc配置
3. cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
4. chsh -s /bin/zsh
重新启动shell就生效zsh。