Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: file:/// in _urls
- X-seq: zsh-workers 17507
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: file:/// in _urls
- Date: Tue, 6 Aug 2002 16:35:45 -0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
This lets one complete local filenames after file:///
Unfortunately, file://localhost/ doesn't work.
Index: Completion/Unix/Type/_urls
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_urls,v
retrieving revision 1.4
diff -u -r1.4 _urls
--- Completion/Unix/Type/_urls 16 Apr 2002 07:48:46 -0000 1.4
+++ Completion/Unix/Type/_urls 6 Aug 2002 20:21:18 -0000
@@ -82,6 +82,7 @@
fi
;;
file)
+ [[ -prefix /// ]] && compset -P //
if ! compset -P //; then
_tags -C file files
while _tags; do
Messages sorted by:
Reverse Date,
Date,
Thread,
Author