about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-08-06 21:08:12 +0000
committerClint Adams <clint@users.sourceforge.net>2002-08-06 21:08:12 +0000
commit759093fda504b8ab869beb567651080e2cb92e0f (patch)
treee3e1770318d569d5b744baca4e71706957fc97a0
parentd854fa3658597c54e2015d78f195bbbb01660d3a (diff)
downloadzsh-759093fda504b8ab869beb567651080e2cb92e0f.tar.gz
zsh-759093fda504b8ab869beb567651080e2cb92e0f.tar.xz
zsh-759093fda504b8ab869beb567651080e2cb92e0f.zip
17508: complete local files after file://localhost/ .
-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 e9dfe509a..7ddbd3afb 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 fa1fcfb6c..da9c368e6 100644
--- a/Completion/Unix/Type/_urls
+++ b/Completion/Unix/Type/_urls
@@ -91,6 +91,7 @@ case "$scheme" in
     fi
   ;;
   file)
+    [[ -prefix //localhost/ ]] && compset -P //localhost
     [[ -prefix /// ]] && compset -P //
     if ! compset -P //; then
       _tags -C file files