Skip to content

Commit

Permalink
Added support for virtualenvwrapper in /usr/local/bin/
Browse files Browse the repository at this point in the history
In addition to /etc/bash_completion.d/
  • Loading branch information
tersmitten committed Aug 21, 2015
1 parent e608349 commit ba977c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/etc/skel/.bashrc.j2
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,9 @@ if [ -f /etc/bash_completion.d/virtualenvwrapper ]; then
export PROJECT_HOME=$HOME/checkouts
. /etc/bash_completion.d/virtualenvwrapper
fi

if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/checkouts
. /usr/local/bin/virtualenvwrapper.sh
fi

0 comments on commit ba977c3

Please sign in to comment.