From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6227 invoked from network); 16 Jun 2000 14:58:31 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 16 Jun 2000 14:58:31 -0000 Received: (qmail 10282 invoked by alias); 16 Jun 2000 14:58:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11949 Received: (qmail 10275 invoked from network); 16 Jun 2000 14:58:24 -0000 Date: Fri, 16 Jun 2000 15:57:56 +0100 From: Peter Stephenson Subject: Re: Cygwin path completion In-reply-to: "Your message of Fri, 16 Jun 2000 18:24:44 +0400." <000801bfd79e$9df66b00$21c9ca95@mow.siemens.ru> To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Message-id: <0FW90065W5KJJS@la-la.cambridgesiliconradio.com> Content-transfer-encoding: 7BIT > 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 Cambridge Silicon Radio, Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070