From bd6d233d9b54040d7a0d7541cd6157c8beb68cfd Mon Sep 17 00:00:00 2001 From: mj Date: Fri, 17 Apr 2015 23:31:35 +0200 Subject: [PATCH] [TEST] zshrc: virtualenvwrapper --- dotfiles/zshrc.sh | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/dotfiles/zshrc.sh b/dotfiles/zshrc.sh index 9e701ce..95c4534 100644 --- a/dotfiles/zshrc.sh +++ b/dotfiles/zshrc.sh @@ -27,13 +27,6 @@ ZSH_CUSTOM=$ZCFG/custom plugins+=(command-not-found common-aliases debian dirhistory history history-substring-search systemadmin zsh_reload) -# virtualenvwrapper -if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then - # export WORKON_HOME=$HOME/.virtualenvs - source /usr/local/bin/virtualenvwrapper.sh - plugins+=(pip python virtualenv virtualenvwrapper) -fi - # User configuration export PATH=$HOME/bin:/usr/local/bin:$PATH @@ -50,8 +43,14 @@ export HISTFILE=~/.history # Apply source $ZSH/oh-my-zsh.sh -# Aliases +# virtualenvwrapper +if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then + # export WORKON_HOME=$HOME/.virtualenvs + source /usr/local/bin/virtualenvwrapper.sh + plugins+=(pip python virtualenv virtualenvwrapper) +fi +# Aliases alias zpl='cd $ZSH/plugins && ls -Alh | less' alias zup='cd $ZCFG && git pull origin master && source ~/.zshrc && cd' -- 2.0.0