Skip to content

Commit 6206c03

Browse files
author
Nat Williams
committed
fix lsvirtualenv to read args in zsh
1 parent cd0bb77 commit 6206c03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

virtualenvwrapper.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ _lsvirtualenv_usage () {
259259
#
260260
# Usage: lsvirtualenv [-l]
261261
lsvirtualenv () {
262-
typeset args="$(getopt blh "$@")"
262+
typeset -a args
263+
args=($(getopt blh "$@"))
263264
if [ $? != 0 ]
264265
then
265266
_lsvirtualenv_usage

0 commit comments

Comments
 (0)