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

Re: RFC PATCH: fix lookup in $commands array when HASHLISTALL is unset



On Tue, May 26, 2026 at 10:39 AM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> On Tue, May 26, 2026 at 7:23 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > [...] doesn't loading up compsys effectively force a
> > hashlistall so the $commands array can be referenced in completers?
>
> My git prompt immediately broke when I ran "rehash" interactively,
> with the HASHLISTALL option unset. I can't find anything in
> Completion/ for git grep -i hashlistall or hash_list_all. I'm not sure
> what other mechanism it could be using to achieve this?

Hm, I thought it happened early (so would not expect it to keep
working after "rehash" later), but I can't reproduce it either.  Must
have got that impression from something in my own configuration.




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