Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: RFC PATCH: fix lookup in $commands array when HASHLISTALL is unset
- X-seq: zsh-workers 54621
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: RFC PATCH: fix lookup in $commands array when HASHLISTALL is unset
- Date: Tue, 26 May 2026 14:18:21 -0700
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8NoYHc6czIZkVcrBsHdV0tLQXrwrCDWeEX2XT0ixpKU=; fh=5z4hNn4LCRbKTd1i4UBG0Xwg24Rjg1Dy3aTvDwPYAzg=; b=bOGEm/TmiFhDbKs4iH2WQpFfoaPqXIhpYnQ7iifA5R3UsDIuenzFUUW1gZqJpX2zg4 tuWV13/fueNJkhEmvxkez636Ztbc4DdWO0aHvNwwuNkQHL1I1yDoG+TGff89Z25TVh0h xbljh17hF1O0hu2oCyBWCfmyp/r2tfz//gZdM3nPXNiPciSPTHkwURzFkwPomdZfJZxo LRVpGnhFCqp2E/TTzyezqCr+qRBqwwvHuLKBG4XzJogTf5BXlQqBeZSb5sIF5zkaZ7J6 2Jt8gpnYLgWnY4M30qk83bzcG1Jkh4o/Geclv5QI+bM6CkH82IJNERSy4ZIBJPRZb0YM tHow==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1779830314; cv=none; d=google.com; s=arc-20240605; b=g6KhnGRDLfZmxgdKHOx9NNlLwSKKJIs/8XavQ59ZcsytJDAz/SRXCsoO2QPwpEtOTn 4HSk1be+hH3kHeA7CB9n+Fz5TPuw+sbd8W26uSihJ9pPC1aFNW0/KReWLoZ/BcnzFgaI qdVAfoLM+4haxpl6NraQRX9bUbdi7ip1brYmXYyxDFu4hgq0eaEAeRIyqyzuDXF8J1Vc MQf8eK+a+yow1JWUy06NgM4NzG5dg8m65j6iLQ3nwn9NSNKK9ymmfTnH5vuf/mPS2t6/ uiRnRrqRjSVFkvfRuZIQ4F9jxiIZi5xPJ/BHxAU6ojilwG+aeiZKv21OHjU1wKFnJnXW hDxw==
- Archived-at: <https://zsh.org/workers/54621>
- In-reply-to: <CAHYJk3Q4VyS63Juy9dHTb+837rz5cvGpYGzzJRM8HaQVXPYbuA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20260526153604.29508-1-mikachu@gmail.com> <CAH+w=7YPRhd8FWUcTkECT_2qdvbP0g7-Kk-JZ58=cF7Bvrwb6g@mail.gmail.com> <CAHYJk3Q4VyS63Juy9dHTb+837rz5cvGpYGzzJRM8HaQVXPYbuA@mail.gmail.com>
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