Commits

Doug Hellmann committed 8c46828

bug fix from John Shimek

Comments (0)

Files changed (1)

virtualenvwrapper_bashrc

 function rmvirtualenv () {
     typeset env_name="$1"
     verify_workon_home
+    if ["$env_name" == "" ]
+    then
+        echo "Please specifiy an enviroment."
+        return 1
+    fi
     env_dir="$WORKON_HOME/$env_name"
     if [ "$VIRTUAL_ENV" == "$env_dir" ]
     then