help / color / mirror / code / Atom feed
From: Dominik Vogt <dominik.vogt@gmx.de>
To: Zsh Users <zsh-users@zsh.org>
Subject: Re: Where do these completions come from?
Date: Fri, 15 Oct 2021 21:26:40 +0100	[thread overview]
Message-ID: <20211015202640.GA11362@gmx.de> (raw)
In-Reply-To: <CAH+w=7bZws-e4e=tJXSOkg3YkKUB+ieSQ5VFuifzpGTCWo-Pjw@mail.gmail.com>

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@gmail.com> 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?


Dominik ^_^  ^_^


Dominik Vogt

  reply	other threads:[~2021-10-15 20:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-15 18:40 Dominik Vogt
2021-10-15 18:46 ` Roman Perepelitsa
2021-10-15 18:56   ` Dominik Vogt
2021-10-15 19:13     ` Roman Perepelitsa
2021-10-15 20:10       ` Bart Schaefer
2021-10-15 20:26         ` Dominik Vogt [this message]
2021-10-16 18:59           ` Bart Schaefer
2021-10-16 21:30             ` Dominik Vogt
2021-10-17 19:00               ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211015202640.GA11362@gmx.de \
    --to=dominik.vogt@gmx.de \
    --cc=zsh-users@zsh.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).