From: Michael Prokop Date: Fri, 5 Jun 2009 07:37:04 +0000 (+0200) Subject: zshrc: add deborphan, pal and hnb to compdef _gnu_generic X-Git-Tag: v0.3.73~16 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=bcd36cbf23f304406b7541406492dc8fc317aaf7;p=grml-etc-core.git zshrc: add deborphan, pal and hnb to compdef _gnu_generic --- diff --git a/debian/changelog b/debian/changelog index 1c0ed15..f742e72 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,11 +1,16 @@ grml-etc-core (0.3.73) UNRELEASED; urgency=low + [ Frank Terbeck ] * zshrc: Fix a problem when calling compinit can seem to cause zsh startup to hang forever. Reported by Rasmus Steinke. * zshrc: Fix problems related to TERM=mostlike in zshrc. Again reported by Rasmus Steinke. - -- Frank Terbeck Tue, 02 Jun 2009 16:36:32 +0200 + [ Michael Prokop ] + * zshrc: add deborphan, pal and hnb to compdef _gnu_generic. Thanks for + the suggestion to Carsten Hey. + + -- Michael Prokop Fri, 05 Jun 2009 09:35:58 +0200 grml-etc-core (0.3.72) unstable; urgency=low diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 6964210..30922f7 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2613,7 +2613,8 @@ 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 tail head feh cp mv df stow uname ipacsum fetchipac; do + for compcom in cp deborphan df feh fetchipac head hnb ipacsum mv \ + pal stow tail uname ; do [[ -z ${_comps[$compcom]} ]] && compdef _gnu_generic ${compcom} done; unset compcom