Commits

Doug Hellmann  committed 747aecb

patches to rmvirtualenv to make it work with zsh from Byron Clark

--HG--
extra : convert_revision : svn%3A98f53aa3-d424-0410-b225-a548b0275c4d/Projects/virtualenvwrapper/trunk%401853

  • Participants
  • Parent commits df9dc5d

Comments (0)

Files changed (2)

 Updates
 =======
 
+1.6.1
+
+  - More zsh support (fixes to rmvirtualenv) from Byron Clark.
+
 1.6
 
   - Add completion support for zsh, courtesy of Ted Leung.

File virtualenvwrapper_bashrc

 function rmvirtualenv () {
     typeset env_name="$1"
     verify_workon_home
-    if [ "$env_name" == "" ]
+    if [ "$env_name" = "" ]
     then
         echo "Please specify an enviroment."
         return 1
     fi
     env_dir="$WORKON_HOME/$env_name"
-    if [ "$VIRTUAL_ENV" == "$env_dir" ]
+    if [ "$VIRTUAL_ENV" = "$env_dir" ]
     then
         echo "ERROR: You cannot remove the active environment ('$env_name')."
         echo "Either switch to another environment, or run 'deactivate'."