Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Where do these completions come from?
- X-seq: zsh-users 27244
- From: Dominik Vogt <dominik.vogt@xxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Where do these completions come from?
- Date: Fri, 15 Oct 2021 21:26:40 +0100
- Archived-at: <https://zsh.org/users/27244>
- In-reply-to: <CAH+w=7bZws-e4e=tJXSOkg3YkKUB+ieSQ5VFuifzpGTCWo-Pjw@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxx>
- References: <20211015184034.GA7752@gmx.de> <CAN=4vMrod0n_1PTuPooa_tCXOUuOiypcZGrOGyH6wr2YnsH6GQ@mail.gmail.com> <20211015185603.GA8362@gmx.de> <CAN=4vMoadZvRj1=uS47Px8zDaU7DxPSkmd77205kGhh1z8NNpw@mail.gmail.com> <CAH+w=7bZws-e4e=tJXSOkg3YkKUB+ieSQ5VFuifzpGTCWo-Pjw@mail.gmail.com>
- Reply-to: dominik.vogt@xxxxxx
On Fri, Oct 15, 2021 at 01:10:27PM -0700, Bart Schaefer wrote:
> On Fri, Oct 15, 2021 at 12:13 PM Roman Perepelitsa
> <roman.perepelitsa@xxxxxxxxx> wrote:
> >
> > > Okay, understood. But why is it useful to expand hashtable names
> > > in command position?
> >
> > I don't think it's useful.
>
> It's not "expanding" hashtable names, it's completing parameter names
> because you might want to assign to them. Having
>
> % PA<tab>
> % PATH=
>
> would be a better example. You don't get the "=" when there are
> multiple possibilities.
Hm, it *is* somewhat confusing to be offered zsh internal
parameter names that come from a module that was loaded as a
dependency of zsh/complist (which is the olny module I use).
Is there a way to tell zsh only to complete parameter names that
are actually in the environment and not zsh internal ones?
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author