* Re: completion with separator
[not found] ` <CAP+y1xC9gFytVbRi9xJj2fK26Y2sLRw-VY2VSfpXLMB8L3bhwA@mail.gmail.com>
@ 2022-05-07 22:19 ` Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2022-05-07 22:19 UTC (permalink / raw)
To: Zsh hackers list; +Cc: Pier Paolo Grassi
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
There's actually a bug in _values. It doesn't help with Pier's use
case, but it might explain some other weirdness. This has been around
a LONG time.
[-- Attachment #2: _values_sep.txt --]
[-- Type: text/plain, Size: 584 bytes --]
diff --git a/Completion/Base/Utility/_values b/Completion/Base/Utility/_values
index 688ada848..5ed79e890 100644
--- a/Completion/Base/Utility/_values
+++ b/Completion/Base/Utility/_values
@@ -60,7 +60,7 @@ if compvalues -i "$keep[@]" "$@"; then
_describe "$descr" \
noargs "$sep[@]" -M 'r:|[_-]=* r:|=*' -- \
args -S "${argsep}" -M 'r:|[_-]=* r:|=*' -- \
- opts -qS "${argsep}" -r "${argsep}${sep} \\t\\n\\-" -M 'r:|[_-]=* r:|=*'
+ opts -qS "${argsep}" -r "${argsep}${sep[2]} \\t\\n\\-" -M 'r:|[_-]=* r:|=*'
curcontext="$oldcontext"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-07 22:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAP+y1xC3AF3XiL9tVF9_N9JZexA4GwKC-c7ZJN87W9ih_+SV5g@mail.gmail.com>
[not found] ` <CAH+w=7YaJF2c_jqyapAhVXoZu9A22x2C6p3t4yvwjiWyVxiqJg@mail.gmail.com>
[not found] ` <CAP+y1xCAMZdUNqrTJm03UyPwoUt1bURX-kvaQf7ii=2AxgFRkA@mail.gmail.com>
[not found] ` <CAP+y1xDNqd2z7-dEBssxOJBeAgCymN-XAU0QTO-cMQ9T6jPd1w@mail.gmail.com>
[not found] ` <CAP+y1xAfr=QVdERerrX3Cu0T=v1Dshda15AH2h=ithDtTxZocA@mail.gmail.com>
[not found] ` <CAH+w=7Y1GmPev5cbZn_FAy=ihtNuDWB+FwP4Z88Uw+n8cDFe5w@mail.gmail.com>
[not found] ` <CAP+y1xC8fFBRR2yKTyGfeiVFTG8TyR6tZKBr=hJhXwgCUSkjnA@mail.gmail.com>
[not found] ` <CAH+w=7Ygd66BT_puoOj+ajn+vTQDbKq7D4K8_YKpLMoBWcZNJw@mail.gmail.com>
[not found] ` <CAP+y1xC9gFytVbRi9xJj2fK26Y2sLRw-VY2VSfpXLMB8L3bhwA@mail.gmail.com>
2022-05-07 22:19 ` completion with separator Bart Schaefer
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).