using (now fixed) virtualenvwrapper omz plugin

This commit is contained in:
2012-06-23 11:41:11 -04:00
parent aad590ae7c
commit 69fd359a1f
2 changed files with 7 additions and 7 deletions

12
zshrc
View File

@ -21,6 +21,12 @@ export ZSH_CUSTOM=$HOME/.zsh/custom
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(extract git github svn ruby rails3 bundler rvm heroku pip django osx brew deb ssh-agent npm drush vagrant knife)
# Python/ virtualenv
if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
export WORKON_HOME=$HOME/.virtualenvs
plugins=($plugins virtualenvwrapper)
fi
# OH MY ZSH!
source $ZSH/oh-my-zsh.sh
@ -30,12 +36,6 @@ if [ -f "$HOME/.rvm/scripts/rvm" ]; then
rvm 1.9.3
fi
# Python/ virtualenv
if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
fi
# Node / nvm
if [ -f "$HOME/.nvm/nvm.sh" ]; then
source "$HOME/.nvm/nvm.sh"