zsh想必在Mac中名气很大,在配置Mac OS X环境的时,也顺便安装下,并记录安装过程如下:
系统环境:OS X 10.10.2
wget:1.13.4 安装方法
zsh安装有两种方法,一是自动安装,另外一种就是手工安装;
这次我偷点懒,就自动安装得了。
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
安装完成后,在Shell里就会看到下面的图形和说明,提示安装已经完成了。
__ __ ____ / /_ ____ ___ __ __ ____ _____/ /_ / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ / /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / \____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ /____/ ....is now installed! Please look over the ~/.zshrc file to select plugins, themes, and options. p.s. Follow us at http://twitter.com/ohmyzsh. p.p.s. Get stickers and t-shirts at http://shop.planetargon.com.
最后,就剩下修改zsh为默认Shell。
chsh -s /bin/zsh