about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-08-06 21:09:37 +0000
committerClint Adams <clint@users.sourceforge.net>2002-08-06 21:09:37 +0000
commite4d8a697bc0f44ae4f2a8b71f7480f57d518c486 (patch)
treeee80818613a53fcd4b45bb5c640e75d1503ff7b4
parent63c52e8e01b2109a154bda93e92314871d616f4d (diff)
downloadzsh-e4d8a697bc0f44ae4f2a8b71f7480f57d518c486.tar.gz
zsh-e4d8a697bc0f44ae4f2a8b71f7480f57d518c486.tar.xz
zsh-e4d8a697bc0f44ae4f2a8b71f7480f57d518c486.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 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