On Sat, Dec 05, 2009 at 12:16:19PM +0100, chrysn wrote: > draai installs its zsh completion method in > /usr/share/zsh/site-functions/_draai, where it is not read by zsh. as a > result, zsh completion for draai does not work at all. > > i had a similar problem with the arandr package myself (that's how i > found draai, looking for a better solution); there, i've been installing > to /usr/local/share/zsh/site-functions/ (which is against fhs) and am > now switching to /usr/share/zsh/functions/Completion (which works, but > seems wrong considering the other files there are all somehow compiled). > > schizo (whom i cc'd as the zsh package maintainer for help on this), do > you have a general solution for this (like copying to an own location > and somehow making that location known to the zsh completion system)?
The only upstream-approved solution right now is to move _draai into the zsh package. Alternately, if packages are going to install files into /usr/share/zsh/functions , you could add a README.Debian telling the local user or sysadmin to add that directory into $fpath to get those completion functions. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org