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

Re: [BUG] _expand completer's all-expansions tag format style does not expand %o



On Oct 23, 10:27am, Daniel Shahaf wrote:
}
} Bart Schaefer wrote on Sat, Oct 22, 2016 at 21:46:28 -0700:
} > As mentioned in users/21955, I don't understand why a single match was
} > being excluded from the expansions tag but included in all-expansions?
} 
} To avoid redundancy?  When there's one match, without that condition
} the [expansions] and [all-expansions] group would have exactly the same
} matches.

True, but that happens in other completers without being special-cased
this way, and unless doing menu-selection or a listing the duplicate
is eliminated anyway.  If one has a tag-order style that selects only
one of the two groups and the match is not in both, it may be lost.



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