summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_timeout
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2026-05-14 22:08:17 +0200
committerOliver Kiddle <opk@zsh.org>2026-05-14 22:08:17 +0200
commitf3cd3a4608d938782bdc881272baa3949d3c37ae (patch)
tree1a2fd64fbd855bb9dead7bb21bc6f5486ef57361 /Completion/Unix/Command/_timeout
parent54518: util: add git merge driver zsh-merge-changelog (diff)
downloadzsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.gz
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.bz2
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.lz
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.xz
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.zst
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.zip
54526: update completions for FreeBSD 14.4 and 15.0
Diffstat (limited to 'Completion/Unix/Command/_timeout')
-rw-r--r--Completion/Unix/Command/_timeout6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_timeout b/Completion/Unix/Command/_timeout
index f1961012d..676f8e8cd 100644
--- a/Completion/Unix/Command/_timeout
+++ b/Completion/Unix/Command/_timeout
@@ -11,9 +11,9 @@ local args
)
_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]" \
+ '(-p --preserve-status)'{-p,--preserve-status}'[always exit with the same status as command even if it times out]' \
+ '(-f --foreground)'{-f,--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' \
+ '(-k --kill-after)'{-k+,--kill-after=}'[followup first signal with SIGKILL if command persists after specified time]: :_numbers -f -u seconds duration \:s\:seconds m\:minutes h\:hours d\:days' \
'1: :_numbers -f -u seconds duration :s:seconds m:minutes h:hours d:days' \
'*:::command: _normal -p $service'