about summary refs log tree commit diff
path: root/Completion/Unix/Command/_watch
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-08-14 15:51:12 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-08-14 15:51:12 +0900
commit9b9870a6dc526e9d1f4406a730cbaa17a462e46f (patch)
treea8be0c78883a0232567e9fb1a05d4825bd15666a /Completion/Unix/Command/_watch
parent40a6265aa3f611178ccb99b05522f458ac466f61 (diff)
downloadzsh-9b9870a6dc526e9d1f4406a730cbaa17a462e46f.tar.gz
zsh-9b9870a6dc526e9d1f4406a730cbaa17a462e46f.tar.xz
zsh-9b9870a6dc526e9d1f4406a730cbaa17a462e46f.zip
52037: complete only external commands for env/watch
also includes a few minor fixes for _date, _env and _watch
Diffstat (limited to 'Completion/Unix/Command/_watch')
-rw-r--r--Completion/Unix/Command/_watch4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_watch b/Completion/Unix/Command/_watch
index 91244abe7..e12add520 100644
--- a/Completion/Unix/Command/_watch
+++ b/Completion/Unix/Command/_watch
@@ -18,7 +18,7 @@ case $variant in
       '(-g --chgexit)'{-g,--chgexit}'[exit on command output change]' \
       '(-n --interval)'{-n+,--interval=}'[specify update interval]:update interval (seconds) [2]' \
       '(-p --precise)'{-p,--precise}'[run command at precise intervals]' \
-      '(-q --equexit)'{-q,--equexit}'[exit when output of command does not change for the given cycles]:cycles' \
+      '(-q --equexit)'{-q+,--equexit=}'[exit when output of command does not change for the given cycles]:cycles' \
       '(-r --no-rerun)'{-r,--no-rerun}'[do not run the program on terminal resize]' \
       '(-t --no-title)'{-t,--no-title}'[disable header]' \
       '(-w --no-wrap)'{-w,--no-wrap}'[disable line wrapping]' \
@@ -34,7 +34,7 @@ case $variant in
     then
       _cmdstring && ret=0
     else
-      _normal && ret=0
+      _normal -p watch && ret=0
     fi
     ;;
   # watch(1) has completely different semantics on freebsd compared to linux, hence: