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

Bart Schaefer <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <CAH+w=7YnousYjZ0FT0Q=u_MWOQFF5V_7bjhooBjasRpdFvN4jw@mail.gmail.com>
On Tue, May 26, 2026 at 10:39 AM Mikael Magnusson <[email protected]> wrote:
>
> On Tue, May 26, 2026 at 7:23 PM Bart Schaefer <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.