具体见官网
安装步骤我选择手动安装,以下五步即可搞定,记得直接登录服务器直接按照步骤弄,要不然路径不一致,避免引起不必要的麻烦,别问怎么知道的,我自己就是这么傻乎乎弄,发现有问题重新捣鼓
git clone git://github.com/ohmybash/oh-my-bash.git ~/.oh-my-bash
cp ~/.bashrc ~/.bashrc.orig
cp ~/.oh-my-bash/templates/bashrc.osh-template ~/.bashrc
source ~/.bashrc
配置修改
vim ~/.bashrc
OSH_THEME="powerline"
source ~/.bashrc