* Re: doc question about compadd
@ 2000-01-31 8:13 Sven Wischnowsky
0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2000-01-31 8:13 UTC (permalink / raw)
To: zsh-workers
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@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* doc question about compadd
@ 2000-01-29 9:04 Alexandre Duret-Lutz
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Duret-Lutz @ 2000-01-29 9:04 UTC (permalink / raw)
To: zsh-workers
>From zshcompwid.1:
-1 If given together with the -V option, makes
only consecutive duplicates in the group be
removed. Note that groups with and without
this flag are in different name spaces.
-2 If given together with the -J or -V option,
makes all duplicates be kept. Again, groups
with and without this flag are in different
name spaces.
I deduce that -1 cannot be used with -J.
>From Completion/Core/_tags:
compadd -J "$name"
compadd -V "$name"
compadd -J "$name" -1
compadd -V "$name" -1
compadd -J "$name" -2
compadd -V "$name" -2
I deduce that it can.
Which is wrong?
--
Alexandre Duret-Lutz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-01-31 9:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-31 8:13 doc question about compadd Sven Wischnowsky
-- strict thread matches above, loose matches on Subject: below --
2000-01-29 9:04 Alexandre Duret-Lutz
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).