diff options
author | Mikael Magnusson <mikachu@gmail.com> | 2021-05-16 17:28:37 +0200 |
---|---|---|
committer | Mikael Magnusson <mikachu@gmail.com> | 2021-05-16 17:32:09 +0200 |
commit | 0b3aa73af10b49a56be74e2c6c25a16768576a90 (patch) | |
tree | 0ddb1fbfc7017d6056fe43a71c383587563ef9b7 | |
parent | 8bdbc6149709e4c5e9abfe9a02cdc5101114901a (diff) | |
download | zsh-0b3aa73af10b49a56be74e2c6c25a16768576a90.tar.gz zsh-0b3aa73af10b49a56be74e2c6c25a16768576a90.tar.xz zsh-0b3aa73af10b49a56be74e2c6c25a16768576a90.zip |
_timeout: Fix wrong syntax
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Completion/Unix/Command/_timeout | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 6a2ac0c22..c64d7926a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mikael Magnusson <mikachu@gmail.com> + + * unposted: Completion/Unix/Command/_timeout: Fix wrong syntax + 2021-05-15 Bart Schaefer <schaefer@zsh.org> * Han Pingtian: 33465 (very belatedly): use prctl() for "jobs -Z" diff --git a/Completion/Unix/Command/_timeout b/Completion/Unix/Command/_timeout index 5c27bee47..d0ff085bb 100644 --- a/Completion/Unix/Command/_timeout +++ b/Completion/Unix/Command/_timeout @@ -15,6 +15,6 @@ _arguments -S -A "-" $args \ '--preserve-status[always exit with the same status as command even if it times out]' \ "--foreground[don't propagate timeout to the command children]" \ '(-s --signal)'{-s,--signal}'[specify the signal to send on timeout]:signal:_signals' \ - '(-k --kill-after)'{-k,--kill-after}'[followup first signal with SIGKILL if command persists after specified time]:time:time' \ + '(-k --kill-after)'{-k,--kill-after}'[followup first signal with SIGKILL if command persists after specified time]:time' \ '1: :_guard "[0-9.]#([smhd]|)" duration' \ '*:::command:_normal' |