Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completing second argument of cd
- X-seq: zsh-users 320
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: pws@xxxxxx (Peter Stephenson)
- Subject: Re: completing second argument of cd
- Date: Mon, 22 Jul 1996 16:59:11 +0200 (MET DST)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <199607220836.KAA28591@xxxxxxxxxxxx> from Peter Stephenson at "Jul 22, 96 10:36:21 am"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
> I don't remember seeing a function like this posted before... it's for
> use with compctl and completes the second argument of cd, i.e. it
> tries to find a possible new directory by altering an occurrence of
> the existing cd argument in $PWD.
Have a look at Misc/compctl-examples and Functions/cdmatch2. It is in the
zsh distribution since beta17, and it was in my private distribution much
before that.
Cheers,
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author