Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cdr completion
- X-seq: zsh-users 18486
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: cdr completion
- Date: Tue, 18 Feb 2014 16:56:45 +0000
- In-reply-to: <le0236$gi7$1@ger.gmane.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <ldvqkv$evf$1@ger.gmane.org> <20140218154533.7facd2a9@pwslap01u.europe.root.pri> <le0236$gi7$1@ger.gmane.org>
On Tue, 18 Feb 2014 17:34:59 +0100
Yuri D'Elia <wavexx@xxxxxxxxxx> wrote:
> 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
>
> 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.
Sorry, try:
zstyle ':completion::complete:-tilde-::' tag-order - named-directories
or perhaps better
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.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author