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

RE: compinit as function?



> "Andrej Borsenkow" wrote:
> > Is there any real reason, why compinit cannot be a function?
>
> One reason is that it wastes memory, since it's quite large and you only
> use it once.
>

It is not as large. The main part are defines for compdef and compconf :-)
And may be more options to compinit can be useful in future ... compinit
rehash to reread new fpath as example? If Zsh will ever be able to execute
functions on access to variables ...

/andrej



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