about summary refs log tree commit diff
path: root/Completion/Unix/Command/_timeout
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-09-04 15:07:52 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-09-04 15:07:52 +0900
commitc0caef561323b91ea0c4aa101b564f92ab51b68d (patch)
tree5caa79c3bfb53add8f14e49333b456f76bdeded3 /Completion/Unix/Command/_timeout
parent9ff1b2810e70658b2364b737478e9a996de0a644 (diff)
downloadzsh-c0caef561323b91ea0c4aa101b564f92ab51b68d.tar.gz
zsh-c0caef561323b91ea0c4aa101b564f92ab51b68d.tar.xz
zsh-c0caef561323b91ea0c4aa101b564f92ab51b68d.zip
52112: use '_normal -p subcmd' to complete only external command
Diffstat (limited to 'Completion/Unix/Command/_timeout')
-rw-r--r--Completion/Unix/Command/_timeout2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_timeout b/Completion/Unix/Command/_timeout
index c041283ac..9c7f1a004 100644
--- a/Completion/Unix/Command/_timeout
+++ b/Completion/Unix/Command/_timeout
@@ -17,4 +17,4 @@ _arguments -S -A "-" $args \
   '(-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' \
   '1: :_numbers -f -u seconds duration :s:seconds m:minutes h:hours d:days' \
-  '*:::command:_normal'
+  '*:::command: _normal -p $service'