about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-09 14:26:09 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-09 14:26:09 +0000
commit825960a988353b304a8a584967da4b0e7a1e45f3 (patch)
tree169edef9e9eb5291b804e175242d4558fc9bfa0e
parent2f36613557a4d33b5706cd9335ff0a4c3b6f1c91 (diff)
downloadzsh-825960a988353b304a8a584967da4b0e7a1e45f3.tar.gz
zsh-825960a988353b304a8a584967da4b0e7a1e45f3.tar.xz
zsh-825960a988353b304a8a584967da4b0e7a1e45f3.zip
zsh-workers/7748
-rw-r--r--Completion/Core/_display2
-rw-r--r--Completion/User/_urls6
2 files changed, 6 insertions, 2 deletions
diff --git a/Completion/Core/_display b/Completion/Core/_display
index 331915b91..210e866ec 100644
--- a/Completion/Core/_display
+++ b/Completion/Core/_display
@@ -15,7 +15,7 @@
 # This function will also do the matching required to find out
 # which strings will be included in the list. All elements that
 # don't match will be removed from the array. This means that the
-# special parameters `PREFI' and `SUFFIX' have to be set up 
+# special parameters `PREFIX' and `SUFFIX' have to be set up 
 # correctly before this function is called.
 
 local _param="$1" _arr _len _i _tmp _simple
diff --git a/Completion/User/_urls b/Completion/User/_urls
index ef10bb37d..859402246 100644
--- a/Completion/User/_urls
+++ b/Completion/User/_urls
@@ -24,6 +24,10 @@
 #      ... drwxr-xr-x ... 512 Sep  3 02:48 ./bookmark/zsh
 #      ... -rw-r--r-- ...  27 Sep  3 02:47 ./bookmark/zsh/home
 #      ... -rw-r--r-- ...  20 Sep  3 02:48 ./bookmark/zsh/meta
+#      % cat bookmark/zsh/home 
+#      http://sunsite.auc.dk/zsh/
+#      % cat bookmark/zsh/meta
+#      http://www.zsh.org/
 
 local ipre scheme dirs files
 
@@ -42,7 +46,7 @@ if [[ -prefix [-+.a-z0-9]#: ]]; then
   scheme="${PREFIX%%:*}"
   compset -P "[-+.a-z0-9]#:"
 else
-  compadd -S '' http:// ftp:// bookmark:
+  compadd "$@" -S '' http:// ftp:// bookmark:
   return
 fi