Skip to content

Commit 747aecb

Browse files
committed
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
1 parent df9dc5d commit 747aecb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ For more details, refer to the column I wrote for the May 2008 issue of Python M
7070
Updates
7171
=======
7272

73+
1.6.1
74+
75+
- More zsh support (fixes to rmvirtualenv) from Byron Clark.
76+
7377
1.6
7478

7579
- Add completion support for zsh, courtesy of Ted Leung.

virtualenvwrapper_bashrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ function mkvirtualenv () {
8585
function rmvirtualenv () {
8686
typeset env_name="$1"
8787
verify_workon_home
88-
if [ "$env_name" == "" ]
88+
if [ "$env_name" = "" ]
8989
then
9090
echo "Please specify an enviroment."
9191
return 1
9292
fi
9393
env_dir="$WORKON_HOME/$env_name"
94-
if [ "$VIRTUAL_ENV" == "$env_dir" ]
94+
if [ "$VIRTUAL_ENV" = "$env_dir" ]
9595
then
9696
echo "ERROR: You cannot remove the active environment ('$env_name')."
9797
echo "Either switch to another environment, or run 'deactivate'."

0 commit comments

Comments
 (0)