Commit bd6d233d9b54040d7a0d7541cd6157c8beb68cfd

Authored by mj
1 parent 292eeff3e3
Exists in master and in 2 other branches 02-merge, dev

[TEST] zshrc: virtualenvwrapper

Showing 1 changed file with 7 additions and 8 deletions Side-by-side Diff

... ... @@ -27,13 +27,6 @@ ZSH_CUSTOM=$ZCFG/custom
27 27  
28 28 plugins+=(command-not-found common-aliases debian dirhistory history history-substring-search systemadmin zsh_reload)
29 29  
30   -# virtualenvwrapper
31   -if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
32   - # export WORKON_HOME=$HOME/.virtualenvs
33   - source /usr/local/bin/virtualenvwrapper.sh
34   - plugins+=(pip python virtualenv virtualenvwrapper)
35   -fi
36   -
37 30 # User configuration
38 31 export PATH=$HOME/bin:/usr/local/bin:$PATH
39 32  
... ... @@ -50,8 +43,14 @@ export HISTFILE=~/.history
50 43 # Apply
51 44 source $ZSH/oh-my-zsh.sh
52 45  
53   -# Aliases
  46 +# virtualenvwrapper
  47 +if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
  48 + # export WORKON_HOME=$HOME/.virtualenvs
  49 + source /usr/local/bin/virtualenvwrapper.sh
  50 + plugins+=(pip python virtualenv virtualenvwrapper)
  51 +fi
54 52  
  53 +# Aliases
55 54 alias zpl='cd $ZSH/plugins && ls -Alh | less'
56 55 alias zup='cd $ZCFG && git pull origin master && source ~/.zshrc && cd'
57 56