From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6586 invoked from network); 16 Jun 2000 15:01:56 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 16 Jun 2000 15:01:56 -0000 Received: (qmail 10910 invoked by alias); 16 Jun 2000 15:01:44 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11950 Received: (qmail 10903 invoked from network); 16 Jun 2000 15:01:43 -0000 Date: Fri, 16 Jun 2000 17:01:38 +0200 (MET DST) Message-Id: <200006161501.RAA14752@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Peter Stephenson's message of Fri, 16 Jun 2000 15:57:56 +0100 Subject: 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@informatik.hu-berlin.de