Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: completion docs (mainly)



In article <199909091406.QAA03064@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
  Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:

> I also renamed the `_cvs_disable_stat' key to `cvs_disable_stat' --
> Tanaka, could you check if the description is ok?

Good. Thanks.

Also, I found that `_urls' has a compadd without "$@".

Index: Completion/User/_urls
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/_urls,v
retrieving revision 1.1.1.3
diff -u -F^( -r1.1.1.3 _urls
--- _urls	1999/09/06 09:05:17	1.1.1.3
+++ _urls	1999/09/09 14:21:06
@@ -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 @@
   scheme="${PREFIX%%:*}"
   compset -P "[-+.a-z0-9]#:"
 else
-  compadd -S '' http:// ftp:// bookmark:
+  compadd "$@" -S '' http:// ftp:// bookmark:
   return
 fi
 
Index: Completion/Core/_display
===================================================================
RCS file: /projects/zsh/zsh/Completion/Core/_display,v
retrieving revision 1.1.1.2
diff -u -F^( -r1.1.1.2 _display
--- _display	1999/09/09 09:28:10	1.1.1.2
+++ _display	1999/09/09 14:21:06
@@ -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
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author