zsh-workers
 help / color / mirror / code / Atom feed
* [BUG] _describe -x adds same completion group header twice
@ 2021-09-09 16:48 Marlon Richert
  2021-09-09 19:04 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Marlon Richert @ 2021-09-09 16:48 UTC (permalink / raw)
  To: Zsh hackers list

When _describe is called with -x, it adds the same group header twice:

% autoload -Uz compinit; compinit
% zstyle '*' group-name ''
% zstyle '*' format '--%d--'
% compdef _tst tst
% _tst() { local -a arr=( foo bar ); _describe -x 'desc' arr }
% tst \t
--desc--
--desc--
bar  foo


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-26 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09 16:48 [BUG] _describe -x adds same completion group header twice Marlon Richert
2021-09-09 19:04 ` Bart Schaefer
2021-09-10  8:44   ` Marlon Richert
2021-09-26 20:21     ` Oliver Kiddle

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).