Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Cygwin path completion



Peter Stephenson wrote:

> > 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.

Right.


I forgot to say... the fake-path thing I just suggested could also
help us to do something I've been missing some time ago (and then
forgot again, of course, sigh): completion of auto-mounted directories.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author