From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9593 invoked from network); 6 Aug 2002 21:06:50 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 6 Aug 2002 21:06:50 -0000 Received: (qmail 864 invoked by alias); 6 Aug 2002 21:06:40 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17508 Received: (qmail 850 invoked from network); 6 Aug 2002 21:06:38 -0000 Date: Tue, 6 Aug 2002 17:06:36 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: Re: PATCH: file:/// in _urls Message-ID: <20020806210636.GA31827@dman.com> References: <20020806203545.GA30087@dman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020806203545.GA30087@dman.com> User-Agent: Mutt/1.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) > Unfortunately, file://localhost/ doesn't work. This deals with that special case. Index: Completion/Unix/Type/_urls =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_urls,v retrieving revision 1.1.4.2 diff -u -r1.1.4.2 _urls --- Completion/Unix/Type/_urls 6 Aug 2002 20:43:02 -0000 1.1.4.2 +++ Completion/Unix/Type/_urls 6 Aug 2002 21:05:33 -0000 @@ -91,6 +91,7 @@ fi ;; file) + [[ -prefix //localhost/ ]] && compset -P //localhost [[ -prefix /// ]] && compset -P // if ! compset -P //; then _tags -C file files