summaryrefslogtreecommitdiff
path: root/Functions/Misc/zargs
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2015-08-22 01:55:58 +0200
committerAxel Beckert <abe@deuxchevaux.org>2015-08-22 01:55:58 +0200
commit02f6e25bfcd5feb9a093377dda0dd549cdf5c309 (patch)
tree9a25e61122b3fa0d0a1ff68b5ef05c775ff78b1e /Functions/Misc/zargs
parente04a19735ffc8523b93b33074f685ad4e2c92e0c (diff)
parent881474edcb223ac22a08d81a824809c33ca3a9c9 (diff)
downloadzsh-02f6e25bfcd5feb9a093377dda0dd549cdf5c309.tar.gz
zsh-02f6e25bfcd5feb9a093377dda0dd549cdf5c309.zip
Merge tag 'zsh-5.0.8-test-2' into debian
Diffstat (limited to 'Functions/Misc/zargs')
-rw-r--r--Functions/Misc/zargs4
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