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

Re: doc question about compadd



Alexandre Duret-Lutz wrote:

> I deduce that -1 cannot be used with -J.

It can, but has no user-visible effect because -J sorts and removes
duplicates anyway.

Bye
 Sven

diff -ru ../z.old/Doc/Zsh/compwid.yo Doc/Zsh/compwid.yo
--- ../z.old/Doc/Zsh/compwid.yo	Mon Jan 31 09:10:30 2000
+++ Doc/Zsh/compwid.yo	Mon Jan 31 09:12:24 2000
@@ -469,7 +469,8 @@
 )
 item(tt(-1))(
 If given together with the tt(-V) option, makes
-only consecutive duplicates in the group be removed. Note that groups
+only consecutive duplicates in the group be removed. If combined with
+the tt(-J) option, this has no visible effect. Note that groups
 with and without this flag are in different name spaces.
 )
 item(tt(-2))(

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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