about summary refs log tree commit diff
diff options
context:
space:
mode:
-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