zsh-users
 help / color / mirror / code / Atom feed
* completion with separator
@ 2022-05-07 10:40 Pier Paolo Grassi
  2022-05-07 20:12 ` Bart Schaefer
  2022-05-07 23:37 ` Bart Schaefer
  0 siblings, 2 replies; 12+ messages in thread
From: Pier Paolo Grassi @ 2022-05-07 10:40 UTC (permalink / raw)
  To: Zsh-Users List

[-- Attachment #1: Type: text/plain, Size: 492 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 894 bytes --]

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

end of thread, other threads:[~2022-05-08  8:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-07 10:40 completion with separator Pier Paolo Grassi
2022-05-07 20:12 ` Bart Schaefer
2022-05-07 20:29   ` Pier Paolo Grassi
2022-05-07 20:31     ` Pier Paolo Grassi
2022-05-07 20:56       ` Pier Paolo Grassi
2022-05-07 21:00         ` Bart Schaefer
2022-05-07 21:10           ` Pier Paolo Grassi
2022-05-07 21:44             ` Bart Schaefer
2022-05-07 21:49               ` Pier Paolo Grassi
2022-05-07 20:57       ` Bart Schaefer
2022-05-07 23:37 ` Bart Schaefer
2022-05-08  8:07   ` Pier Paolo Grassi

Code repositories for project(s) associated with this 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).