MAC下配置zsh

@bingoogolapple 2015-03-15 02:52:18发表于 bingoogolapple/bingoogolapple.github.io 工具软件开发环境

查看当前使用的shell

echo $SHELL

查看支持的shell

cat /etc/shells 
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh 
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

将bash切换为zsh

chsh -s /bin/zsh

切换回bash

chsh -s /bin/bash