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

Re: compiled completion files



On Wed, Jan 06, 2010 at 12:19:44AM +0100, Mikael Magnusson wrote:
> Not sure what you mean, if you compile the functions dir into
> functions.zwc, that is used and the files in the functions dir are not
> looked at.
Yes, but I'm talking about completion sysmet.
> I've done this for years. It seems the files do need to
> exist for the system to work, is that what you mean? I think only the
> listing is used, strace reveals none of them are opened except
> compaudit/init and a few more, but nothing while tabcompleting.

compinit scans fpath for non .zwc files, reads its first line and does needed actions. For example autoloads function.

--
sergio.



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