about summary refs log tree commit diff
path: root/Completion/Unix/Command/_tail
diff options
context:
space:
mode:
authordana <dana@dana.is>2018-12-17 14:49:33 -0600
committerdana <dana@dana.is>2018-12-17 14:49:33 -0600
commit43247252ddeedcf3955b030f2c77064089581cb0 (patch)
tree1775341f8fb89fdd992609c448a9d1c4d6bbf4d2 /Completion/Unix/Command/_tail
parentf8864ac0c8bf2bbe9af9ed70973d7f9fd37d38b2 (diff)
downloadzsh-43247252ddeedcf3955b030f2c77064089581cb0.tar.gz
zsh-43247252ddeedcf3955b030f2c77064089581cb0.tar.xz
zsh-43247252ddeedcf3955b030f2c77064089581cb0.zip
43897: Add/update various completion functions
* Update tail to support -q/-v on NetBSD
* Add several new functions (with one change needed to _hosts compdefs)
Diffstat (limited to 'Completion/Unix/Command/_tail')
-rw-r--r--Completion/Unix/Command/_tail9
1 files changed, 6 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_tail b/Completion/Unix/Command/_tail
index 599503ab5..3bfbe37ca 100644
--- a/Completion/Unix/Command/_tail
+++ b/Completion/Unix/Command/_tail
@@ -38,10 +38,13 @@ else
       )
       ;|
     (freebsd*|darwin*|dragonfly*|netbsd*)
-      args+=( '(-f -r)-F[implies -f, but also detect file rename]' )
+      args+=(
+	'(-f -r)-F[implies -f, but also detect file rename]'
+	'(-v)-q[never output headers giving file names]'
+      )
       ;|
-    (freebsd*|darwin*|dragonfly*)
-      args+=( '-q[suppress the headers when displaying multiple files]' )
+    (netbsd*)
+      args+=( '(-q)-v[always output headers giving file names]' )
       ;;
   esac
 fi