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).
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