Doug Hellmann avatar Doug Hellmann committed f71ffbb

Make lsvirtualenv work under zsh using patch from Zach Voase. Fixes #64

Comments (0)

Files changed (4)

+2010-09-18  Doug Hellmann  <dhellmann@racemi.com>
+
+	* virtualenvwrapper.sh: Apply patch from Zach Voase to fix
+	lsvirtualenv under zsh.
+
 2010-09-14  Doug Hellmann  <dhellmann@racemi.com>
 
 	* virtualenvwrapper.sh (workon): Use the brief list format by

docs/en/history.rst

 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
 #!/usr/bin/env python
 
 PROJECT = 'virtualenvwrapper'
-VERSION = '2.5.1'
+VERSION = '2.5.2'
 
 # Bootstrap installation of Distribute
 import distribute_setup

virtualenvwrapper.sh

 #
 # Usage: lsvirtualenv [-l]
 lsvirtualenv () {
-    typeset args=$(getopt blh $*)
+    typeset args="$(getopt blh "$@")"
     if [ $? != 0 ]
     then
         _lsvirtualenv_usage
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.