* How to make l/r:|=* matcher default in completion?
@ 2022-07-23 11:23 Sebastian Gniazdowski
2022-07-24 19:51 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Gniazdowski @ 2022-07-23 11:23 UTC (permalink / raw)
To: Zsh Users
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
Hi,
I've tried:
zstyle ':completion:*:*:*:*' matcher 'r:|=* l:|=*'
but git checkout cd still doesn't complete a branch with cd in its name.
--
Best regards,
Sebastian Gniazdowski
[-- Attachment #2: Type: text/html, Size: 675 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to make l/r:|=* matcher default in completion?
2022-07-23 11:23 How to make l/r:|=* matcher default in completion? Sebastian Gniazdowski
@ 2022-07-24 19:51 ` Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2022-07-24 19:51 UTC (permalink / raw)
To: Sebastian Gniazdowski; +Cc: Zsh Users
On Sat, Jul 23, 2022 at 4:24 AM Sebastian Gniazdowski
<sgniazdowski@gmail.com> wrote:
>
> zstyle ':completion:*:*:*:*' matcher 'r:|=* l:|=*'
>
> but git checkout cd still doesn't complete a branch with cd in its name.
The above works for me, or appears to:
% autoload compinit
% compinit -D
% zstyle ':completion:*:*:*:*' matcher 'r:|=* l:|=*'
% git checkout rg<TAB>
% git checkout arg<TAB>
recent branches
zargs-2.0 -- zargs-2.0 - use zsh/param/private and naming to hide internal
local head
zargs-2.0
commit tag
post-opt-arg pre-opt-arg
Have you tried invoking _complete_debug ?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-24 19:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-23 11:23 How to make l/r:|=* matcher default in completion? Sebastian Gniazdowski
2022-07-24 19:51 ` 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).