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

completion with separator



Hello, I have a completion function that after calculating the possible completion values uses

_values -s , categories $categories_array

to show the possible matches.

When I complete something I get this behavior:

> func a<tab>
<menu completion where I select a value with enter>
> func acat,<cursor>

I would like that the comma was not added automatically, or at least to be removed automatically when I select a voice in menu selection with enter.
is this possible?

Pier Paolo Grassi


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