zsh-users
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@berkom.de>
To: zsh-users@sunsite.dk
Cc: Bo Thorsen <bo@sonofthor.dk>
Subject: Re: cd ..<tab>?
Date: Tue, 29 Jan 2002 11:18:40 +0100	[thread overview]
Message-ID: <15446.30464.872842.207355@wischnow.berkom.de> (raw)
In-Reply-To: <20020129102017.E3A633FC1B@pluto.sonofthor.dk>


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@berkom.de


  reply	other threads:[~2002-01-29 10:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-29 10:20 Bo Thorsen
2002-01-29 10:18 ` Sven Wischnowsky [this message]
2002-01-29 23:10   ` Dennis Haney
2002-01-30  1:12     ` Bart Schaefer
2002-02-05 17:19       ` Dennis Haney
     [not found]       ` <3C60140C.6020006@davh.dk>
2002-02-05 17:46         ` Bart Schaefer
2002-02-05 18:26           ` Dennis Haney

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=15446.30464.872842.207355@wischnow.berkom.de \
    --to=wischnow@berkom.de \
    --cc=bo@sonofthor.dk \
    --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).