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 07, 2020 at 10:12:46AM +0200, Roman Perepelitsa wrote:
> 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.

Yes I read the docs. I `source taskwarrior`, not sourcing `.zwc`.

Doron.




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