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

Re: zcompile bug? zcompile on a single script setting up a chpwd function



On Wed, Oct 7, 2020 at 10:09 AM Doron Behar <doron.behar@xxxxxxxxx> wrote:
>
> The point is that I have done nothing that could corrupt the zwc file -
> it's how zcompile generated it.

Is it possible that you are executing `source taskwarrior.zwc` instead
of `source taskwarrior`? You should always use the latter regardless
of whether taskwarrior.zwc exists. When executing `source
taskwarrior`, zsh automatically checks whether taskwarrior.zwc exists
and is fresh enough.

Roman.




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