Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: adding completion file for zsh



On Fri, Oct 28, 2005 at 11:38:15AM +0100, Peter Stephenson wrote:
> "Andrei A. Voropaev" wrote:
> > Hm. Interestingly enough, when I put the function into
> > /usr/share/zsh/site-functions/ then it does not get used. When I put it
> > into /usr/share/zsh/4.2.1/functions, then it becomes available.
> > 
> > When I do echo $FPATH both of the directories are present there. Why
> > completion system doesn't see the file in site-functions?
> 
> Is the owner of site-functions different, or does it have general
> write permissions?  I haven't checked the details, but compinit does
> some basic checking of this.

In my case site-functions is owned by root:root and permissions are 0755
exactly the same as permissions for 4.2.1/functions. Maybe the file in
site-functions has to have executable permission?

-- 
Minds, like parachutes, function best when open



Messages sorted by: Reverse Date, Date, Thread, Author