From: Yuri D'Elia <wavexx@thregr.org>
To: zsh-users@zsh.org
Subject: Re: cdr completion
Date: Tue, 18 Feb 2014 18:48:09 +0100 [thread overview]
Message-ID: <le06cb$7if$1@ger.gmane.org> (raw)
In-Reply-To: <20140218165645.620c2a10@pwslap01u.europe.root.pri>
On 02/18/2014 05:56 PM, Peter Stephenson wrote:
> zstyle ':completion::complete:-tilde-::' tag-order - \
> 'named-directories directory-stack'
>
> instead. For some reason the other form was working for me, so I failed
> to go and read the documentation, which is lethal. The "-" is needed
> to tell it that you *only* want the tags you specify completed.
Ah yes, thanks for pointing that out. Now it works as planned.
And, for maximum comfort:
zstyle ':completion::complete:-tilde-::' tag-order - \
'named-directories:-home named-directories directory-stack'
zstyle ':completion::complete:-tilde-:*:named-directories-home' fake '/'
will complete ~ to ~/ if there is nothing else.
next prev parent reply other threads:[~2014-02-18 17:48 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
2014-02-18 16:56 ` Peter Stephenson
2014-02-18 17:48 ` Yuri D'Elia [this message]
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='le06cb$7if$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).