diff options
Diffstat (limited to 'Functions/Misc')
-rw-r--r-- | Functions/Misc/zargs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Misc/zargs b/Functions/Misc/zargs index 71fd42835..28ebca78f 100644 --- a/Functions/Misc/zargs +++ b/Functions/Misc/zargs @@ -73,7 +73,7 @@ emulate -L zsh || return 1 local -a opts eof n s l P i -local ZARGS_VERSION="1.4" +local ZARGS_VERSION="1.5" if zparseopts -a opts -D -- \ -eof::=eof e::=eof \ @@ -254,7 +254,7 @@ then bg='&' if zmodload -i zsh/parameter 2>/dev/null then - wait='wait %${(k)^jobstates[(R)running:*]}' + wait='wait ${${jobstates[(R)running:*]/#*:/}/%=*/}' else wait='wait' fi |