diff options
Diffstat (limited to '')
-rw-r--r-- | bashrc/common/virtualenv.sh | 3 | ||||
-rw-r--r-- | bashrc/node/laptop/virtualenv.sh | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bashrc/common/virtualenv.sh b/bashrc/common/virtualenv.sh new file mode 100644 index 0000000..4bacadc --- /dev/null +++ b/bashrc/common/virtualenv.sh @@ -0,0 +1,3 @@ +if hash "virtualenvwrapper.sh" 2>/dev/null; then + source $(which virtualenvwrapper.sh) +fi diff --git a/bashrc/node/laptop/virtualenv.sh b/bashrc/node/laptop/virtualenv.sh index d0fe6a7..70b7ef8 100644 --- a/bashrc/node/laptop/virtualenv.sh +++ b/bashrc/node/laptop/virtualenv.sh @@ -4,6 +4,4 @@ if hash "virtualenvwrapper.sh" 2>/dev/null; then if [ -e ${WORKON_HOME} ]; then mkdir -p $WORKON_HOME fi - - source $(which virtualenvwrapper.sh) fi |