summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Type/_urls1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6412c99c8..9acb44df6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-08-06  Clint Adams  <clint@zsh.org>
 
+	* 17508: Completion/Unix/Type/_urls: complete local files after
+	file://localhost/ .
+
 	* 17507: Completion/Unix/Type/_urls: complete local files after
 	file:/// .
 
diff --git a/Completion/Unix/Type/_urls b/Completion/Unix/Type/_urls
index 4482fedd6..e696c98df 100644
--- a/Completion/Unix/Type/_urls
+++ b/Completion/Unix/Type/_urls
@@ -82,6 +82,7 @@ case "$scheme" in
     fi
   ;;
   file)
+    [[ -prefix //localhost/ ]] && compset -P //localhost
     [[ -prefix /// ]] && compset -P //
     if ! compset -P //; then
       _tags -C file files