about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-08-06 20:40:56 +0000
committerClint Adams <clint@users.sourceforge.net>2002-08-06 20:40:56 +0000
commit63c52e8e01b2109a154bda93e92314871d616f4d (patch)
tree0e663fad61b82af1851233502a90aec6b1531737
parenta8f7d57e830f8eac90e265a566a8ff96c89c8571 (diff)
downloadzsh-63c52e8e01b2109a154bda93e92314871d616f4d.tar.gz
zsh-63c52e8e01b2109a154bda93e92314871d616f4d.tar.xz
zsh-63c52e8e01b2109a154bda93e92314871d616f4d.zip
17507: Completion/Unix/Type/_urls: complete local files after file:/// .
-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