From bcd36cbf23f304406b7541406492dc8fc317aaf7 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 5 Jun 2009 09:37:04 +0200 Subject: [PATCH] zshrc: add deborphan, pal and hnb to compdef _gnu_generic --- debian/changelog | 7 ++++++- etc/zsh/zshrc | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) 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 -- 2.1.4