Add support for virtualenvwrapper if its present
authorTravis Swicegood <development@domain51.com>
Thu, 3 Mar 2011 05:49:30 +0000 (23:49 -0600)
committerTravis Swicegood <development@domain51.com>
Thu, 3 Mar 2011 05:49:30 +0000 (23:49 -0600)
plugins/virtualenv.plugin.bash [new file with mode: 0644]

diff --git a/plugins/virtualenv.plugin.bash b/plugins/virtualenv.plugin.bash
new file mode 100644 (file)
index 0000000..a0e7b3f
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+# make sure virtualenvwrapper is enabled if availalbe
+[[ `which virtualenvwrapper.sh` ]] && . virtualenvwrapper.sh
+