Add virtualenvwrapper support to dotfiles.

This commit is contained in:
David Tomaschik
2016-03-19 11:01:40 -07:00
parent 5900f47829
commit 80795ffb33
3 changed files with 8 additions and 0 deletions

View File

@@ -21,4 +21,7 @@ if [[ $TERM == "xterm" && $COLORTERM == "gnome-terminal" ]] ; then
export TERM="xterm-256color"
fi
# For virtualenvwrapper
export WORKON_HOME=$HOME/.virtualenvs
if [[ -e $HOME/.localenv ]] ; then source $HOME/.localenv ; fi

View File

@@ -30,6 +30,7 @@ if [ -d $HOME/.oh-my-zsh ] ; then
ZSH_THEME="matir"
ZSH_CUSTOM="$HOME/.zsh_custom"
plugins=(git encode64 gpg-agent pep8 pip python tmux urltools extract sudo virsh virtualenv command-not-found)
test -f /usr/share/virtualenvwrapper/virtualenvwrapper.sh && plugins+=(virtualenvwrapper)
source $ZSH/oh-my-zsh.sh
unset ZSH_THEME
unset ZSH_CUSTOM