From: Yuri D'Elia <wavexx@thregr.org>
To: zsh-users@zsh.org
Subject: Re: cdr completion
Date: Tue, 18 Feb 2014 17:34:59 +0100 [thread overview]
Message-ID: <le0236$gi7$1@ger.gmane.org> (raw)
In-Reply-To: <20140218154533.7facd2a9@pwslap01u.europe.root.pri>
On 02/18/2014 04:45 PM, Peter Stephenson wrote:
>> will still try to complete usernames (for the ~user home directory
>> completion), which is something I'd like to avoid.
>>
>> Is this avoidable?
>
> Hmm... I think you can turn it off generally with something like
>
> zstyle ':completion::complete:-tilde-::' tag-order named-directories
>
> (allow named directories but not usernames), but so far as I know
> there's no way of doing it just after cdr. The problem is the context
> here is a special one, "-tilde-", which replaces the normal command
> context, so it no longer cares. This happens early enough that none of
> the special code to do with cdr is ever run.
This would be fine for me. The ~username expansion is something I never
ever used.
However the above style doesn't really disable the expansion for me.
next prev parent reply other threads:[~2014-02-18 16:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-18 14:27 Yuri D'Elia
2014-02-18 15:45 ` Peter Stephenson
2014-02-18 16:34 ` Yuri D'Elia [this message]
2014-02-18 16:56 ` Peter Stephenson
2014-02-18 17:48 ` Yuri D'Elia
2014-02-18 20:02 ` Yuri D'Elia
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='le0236$gi7$1@ger.gmane.org' \
--to=wavexx@thregr.org \
--cc=zsh-users@zsh.org \
/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).