Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: file:/// in _urls
- X-seq: zsh-workers 17508
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: file:/// in _urls
- Date: Tue, 6 Aug 2002 17:06:36 -0400
- In-reply-to: <20020806203545.GA30087@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20020806203545.GA30087@xxxxxxxx>
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author