Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cd ..<tab>?
- X-seq: zsh-users 4637
- From: Sven Wischnowsky <wischnow@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: cd ..<tab>?
- Date: Tue, 29 Jan 2002 11:18:40 +0100
- Cc: Bo Thorsen <bo@xxxxxxxxxxxx>
- In-reply-to: <20020129102017.E3A633FC1B@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020129102017.E3A633FC1B@xxxxxxxxxxxxxxxxxx>
Bo Thorsen wrote:
> Hi all,
>
> I'm just giving zsh yet another try, but my biggest beef with it is still
> there:
>
> > cd ..<tab>
>
> doesn't expand to ../ which is quite annoying on a danish keyboard. Tab is
> easily hit but / is shift+7. Small issue, but when something's annoying, it
> only grows worse.
>
> I have searched the web and the manual without finding this. I expect there
> is some way of setting up completion to this, but I haven't figured it out
> yet.
I assume you're using the new completion system, i.e., you call
autoload -U compinit
compinit
in any of the init files.
Then you can just do:
zstyle ':completion:*' special-dirs ..
to make `..' be considered a possible match (and hence it will get the
slash appended).
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author