Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: file:/// in _urls



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