compctl definition shadowed _grmlinitd. Found by Anthony CHARLES. Thanks!
authorFrank Terbeck <ft@grml.org>
Fri, 29 Jun 2007 08:15:46 +0000 (10:15 +0200)
committerFrank Terbeck <ft@grml.org>
Fri, 29 Jun 2007 08:15:46 +0000 (10:15 +0200)
The fix is to simply throw the compctl line away. If the grml zshrc is
installed properly, /etc/zsh/completion.d/_grmlinit.d is there to take
care of this properly via compsys (Otherwise, the _grmlinitd would be
useless).

etc/zsh/zshrc

index 60623f8..5662c33 100644 (file)
@@ -1245,8 +1245,6 @@ If you want to use xinit anyway please call \"/usr/bin/xinit\"."
   for i in Start Restart Stop Force-Reload Reload ; do
     eval "$i() { $SUDO /etc/init.d/\$1 ${i:l} \$2 ; }"
   done
-  # now the completion for this:
-  compctl -g "$(echo /etc/init.d/*(:t))" Start Restart Stop Force-Reload Reload
  fi
 
   #f1# Provides useful information on globbing