首先安装 zsh
sudo apt-get install zsh
安装 zsh 的插件工具, 提示输入密码为 ssh 登录的密码
//>sh -c "$(curl -fsSL https://github.com/jeremyFreeAgent/oh-my-zsh-powerline-theme/blob/master/install_in_omz.sh)"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
将 virtualenvwrapper 运行脚本加入到 zsh 启动文件里
echo ". /usr/local/bin/virtualenvwrapper_lazy.sh" >> ~/.zshrc
设置 git 的默认编辑器为 vim(要到git项目下)
git config core.editor vim
网友评论