summaryrefslogtreecommitdiffstats
path: root/bashrc/common
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-04-26 03:51:37 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-04-26 03:51:37 +0200
commit62d34f7e8b31c5a5a3d661295007182c27d02ce6 (patch)
treeaadb271c25d656ec7f4e0e693971ab171ede3de3 /bashrc/common
parent918f19f41a8b201d3cd9dd45a69b09e58ec54909 (diff)
downloaddotfiles-62d34f7e8b31c5a5a3d661295007182c27d02ce6.tar.gz
dotfiles-62d34f7e8b31c5a5a3d661295007182c27d02ce6.tar.xz
dotfiles-62d34f7e8b31c5a5a3d661295007182c27d02ce6.zip
virtualenv: load virtualenvwrapper everywhere if its enabled
Diffstat (limited to 'bashrc/common')
-rw-r--r--bashrc/common/virtualenv.sh3
1 files changed, 3 insertions, 0 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