Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Cygwin path completion
- X-seq: zsh-workers 11949
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Cygwin path completion
- Date: Fri, 16 Jun 2000 15:57:56 +0100
- In-reply-to: "Your message of Fri, 16 Jun 2000 18:24:44 +0400." <000801bfd79e$9df66b00$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
> I meant something different. I'd prefer if
> /c/d/t would still complete to /cygdrive/d/temp. I meant, that
> _path_files (BTW I agree that it already deserves to be converted to
> shell code. It may even give old compctl the ability to complete paths)
> should simply stuff cygdrive as first component. In the above case the
> possible completions would consist of
This is far too specific to be hard-wired into _path_files, but maybe
there's some way of specifying transformations. I still don't understand
how that helps you since I don't see when you want cygdrive to be the first
component. It seems to me you should be using a named directory or
something, e.g.
c=/cygdrive
: ~c
echo ~c/d/...
You can hardly get fewer characters than that.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author