about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_urls1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 70ebb7e23..6412c99c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-06  Clint Adams  <clint@zsh.org>
+
+	* 17507: Completion/Unix/Type/_urls: complete local files after
+	file:/// .
+
 2002-08-06  Peter Stephenson  <pws@csr.com>
 
 	* 17504: Doc/Zsh/builtins.yo: note that `getopts' doesn't
diff --git a/Completion/Unix/Type/_urls b/Completion/Unix/Type/_urls
index e6e9a38d4..4482fedd6 100644
--- a/Completion/Unix/Type/_urls
+++ b/Completion/Unix/Type/_urls
@@ -82,6 +82,7 @@ case "$scheme" in
     fi
   ;;
   file)
+    [[ -prefix /// ]] && compset -P //
     if ! compset -P //; then
       _tags -C file files
       while _tags; do