From 1049e383c183bce753a1f11fdc05ddd0a3f1942e Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Tue, 17 Mar 2015 22:31:20 +0100 Subject: [PATCH] =?utf8?q?Remove=20=E2=80=98tail=E2=80=99=20from=20list=20?= =?utf8?q?of=20=5Fgnu=5Fgeneric=20commands?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Turns out, that _gnu_generic doesn't handle GNU tail's --help output all that well. If someone wants completion for tail, send a specialised _tail function to zsh's development list. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780531 as well. --- etc/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index f38e2fd..4ad12c6 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -786,7 +786,7 @@ grmlcomp() { # use generic completion system for programs not yet defined; (_gnu_generic works # with commands that provide a --help option with "standard" gnu-like output.) for compcom in cp deborphan df feh fetchipac gpasswd head hnb ipacsum mv \ - pal stow tail uname ; do + pal stow uname ; do [[ -z ${_comps[$compcom]} ]] && compdef _gnu_generic ${compcom} done; unset compcom -- 2.1.4