From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@sunsite.dk
Subject: Re: Completion for cd
Date: Fri, 2 Apr 2004 08:11:55 -0800 [thread overview]
Message-ID: <040402081155.ZM14332@candle.brasslantern.com> (raw)
In-Reply-To: <20040402065247.GB862@eumel.yoo.net>
On Apr 2, 8:52am, Thorsten Haude wrote:
>
> yooden@eumel % cd n
> tags in context :completion::complete:cd::
> local-directories named-directories (_alternative _cd)
> users named-directories directory-stack (_tilde _alternative _cd)
> users (_users _tilde _alternative _cd)
>
> Well, there are users. How to remove them?
zstyle ':completion::complete:cd::' tag-order '! users' -
Should do it. If you want it to complete users if and only if it can't
complete anything else, drop the trailing "-". (Note that "users" won't
be removed from the <C-x h> output, but you should find that it doesn't
complete them any more.)
You might want to use ':completion:*:complete:cd:*' in case cd is used in
some other context, but that's "less specific" than the version without
the "*" for purposes of compsys selecting the most specific style.
next prev parent reply other threads:[~2004-04-02 16:12 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-28 10:42 Thorsten Haude
2004-03-28 12:03 ` Thorsten Kampe
2004-03-28 20:34 ` Thorsten Haude
2004-03-30 1:15 ` Thorsten Kampe
2004-03-31 20:19 ` Thorsten Haude
2004-04-01 18:04 ` Bart Schaefer
2004-04-01 20:44 ` Thorsten Haude
2004-04-02 4:38 ` Bart Schaefer
2004-04-02 6:52 ` Thorsten Haude
2004-04-02 16:11 ` Bart Schaefer [this message]
2004-04-04 14:43 ` Thorsten Haude
2004-04-04 15:14 ` Clint Adams
2004-04-04 15:26 ` Thorsten Haude
2004-04-04 16:39 ` Clint Adams
2004-04-05 0:04 ` Bart Schaefer
2004-04-05 3:50 ` Clint Adams
2004-03-28 19:56 ` Bart Schaefer
2004-03-31 20:22 ` Thorsten Haude
2004-04-01 18:24 ` Bart Schaefer
2004-04-01 20:52 ` Thorsten Haude
2017-03-14 17:38 Jesper Nygårds
2017-03-14 19:07 ` Bart Schaefer
2017-03-14 21:50 ` Jesper Nygårds
2017-03-15 3:56 ` Bart Schaefer
2017-03-15 7:22 ` Jesper Nygårds
2017-03-15 17:00 ` Bart Schaefer
2017-03-15 20:33 ` Jesper Nygårds
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=040402081155.ZM14332@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
https://git.vuxu.org/mirror/zsh/
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).