From 8fd0bad7299c4bdfb63a88691ee46e8c4d38b433 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sat, 18 Sep 2010 08:56:50 -0400 Subject: [PATCH] Make lsvirtualenv work under zsh using patch from Zach Voase. Fixes #64 --- ChangeLog | 5 +++++ docs/en/history.rst | 10 ++++++++++ setup.py | 2 +- virtualenvwrapper.sh | 2 +- 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 677960a..9a1122a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-09-18 Doug Hellmann + + * virtualenvwrapper.sh: Apply patch from Zach Voase to fix + lsvirtualenv under zsh. + 2010-09-14 Doug Hellmann * virtualenvwrapper.sh (workon): Use the brief list format by diff --git a/docs/en/history.rst b/docs/en/history.rst index 3a679f7..1ca20f4 100644 --- a/docs/en/history.rst +++ b/docs/en/history.rst @@ -2,6 +2,16 @@ Release History =============== +2.5.2 + + - Apply patch from Zach Voase to fix :ref:`command-lsvirtualenv` + under zsh. Resolves :bbissue:`64`. + +2.5.1 + + - Make :ref:`command-workon` list brief environment details when run + without argument, instead of full details. + 2.5 - Add :ref:`command-showvirtualenv` command. Modify diff --git a/setup.py b/setup.py index c7c38d8..256706c 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python PROJECT = 'virtualenvwrapper' -VERSION = '2.5.1' +VERSION = '2.5.2' # Bootstrap installation of Distribute import distribute_setup diff --git a/virtualenvwrapper.sh b/virtualenvwrapper.sh index d8a3df3..f97f8ed 100644 --- a/virtualenvwrapper.sh +++ b/virtualenvwrapper.sh @@ -251,7 +251,7 @@ _lsvirtualenv_usage () { # # Usage: lsvirtualenv [-l] lsvirtualenv () { - typeset args=$(getopt blh $*) + typeset args="$(getopt blh "$@")" if [ $? != 0 ] then _lsvirtualenv_usage