Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cd directory completion?
- X-seq: zsh-users 2499
- From: Dominik Vogt <dominik.vogt@xxxxxx>
- To: wischnow@xxxxxxxxxxxxxxxxxxxxxxx, zsh-users@xxxxxxxxxxxxxx
- Subject: Re: cd directory completion?
- Date: Mon, 23 Aug 1999 16:03:16 +0200
- In-reply-to: <199908231326.PAA03303@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>; from wischnow@xxxxxxxxxxxxxxxxxxxxxxx on Mon, Aug 23, 1999 at 03:26:11PM +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199908231326.PAA03303@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Mon, Aug 23, 1999 at 03:26:11PM +0200, wischnow@xxxxxxxxxxxxxxxxxxxxxxx wrote:
>
> Dominik Vogt wrote:
>
> > I'd like to have cd complete directory names as well as
> > symlinks that point to directories (zsh-3.0.6). Is there
> > a way to do this without writing a completion function?
> > (And I don't want to fiddle with any 'chase symlink' setting
> > there may be - I like them the way they are). I couldn't
> > find anything appropriate in the man page. If it's not
> > possible without a function, has anybody written one and
> > can send it to me?
>
> The simplest solution: compctl -/ cd
Um, I think that's not the correct syntax, at least not for
3.0.6:
# compctl -/ cd
compctl: bad option: -/
I'll settle for
compctl -n -g '*(-/) .*(-/) cd pushd
instead. Many thanks
Bye
Dominik ^_^
--
Dominik Vogt, Hewlett-Packard GmbH, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/14-4596, fax: 07031/14-3883, dominik_vogt@xxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author