zshrc: Make options of gpasswd complete via _gnu_generic
authorFrank Terbeck <ft@grml.org>
Wed, 9 Apr 2014 08:12:31 +0000 (10:12 +0200)
committerFrank Terbeck <ft@grml.org>
Wed, 9 Apr 2014 08:12:31 +0000 (10:12 +0200)
etc/zsh/zshrc

index 6cd9d24..fc97062 100644 (file)
@@ -770,7 +770,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 head hnb ipacsum mv \
+    for compcom in cp deborphan df feh fetchipac gpasswd head hnb ipacsum mv \
                    pal stow tail uname ; do
         [[ -z ${_comps[$compcom]} ]] && compdef _gnu_generic ${compcom}
     done; unset compcom