about summary refs log tree commit diff
path: root/Completion/Unix
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 /Completion/Unix
parentd854fa3658597c54e2015d78f195bbbb01660d3a (diff)
downloadzsh-759093fda504b8ab869beb567651080e2cb92e0f.tar.gz
zsh-759093fda504b8ab869beb567651080e2cb92e0f.tar.xz
zsh-759093fda504b8ab869beb567651080e2cb92e0f.zip
17508: complete local files after file://localhost/ .
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Type/_urls1
1 files changed, 1 insertions, 0 deletions
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