大多数命令行用户接触最多的是Bash,由于Bash是各个版本操做系统(Linux&Mac)的默认shell。html
查看当前使用的shellgit
$ echo $SHELL
查看系统所支持的shellgithub
$ cat /etc/shells /bin/bash /bin/csh /bin/ksh /bin/sh /bin/tcsh /bin/zsh
$ chsh -s /bin/zsh
确保安装了wget,使用shell
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
bash
确认安装了git,使用git clone操作系统
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
插件
这时候我查看~/.zshrc,里面用了默认的主题robbyrussell
,还能够设置alias, 配置插件等等。命令行
http://macshuo.com/?p=676
https://github.com/robbyrussell/oh-my-zsh
http://ohmyz.sh/
http://www.open-open.com/lib/view/open1394763235862.html
http://www.cnblogs.com/growingkata/p/3734994.htmlcode