Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: menu-select doesn't respect COMPLETE_IN_WORD option
- X-seq: zsh-users 24918
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Alan <8fvebtoeq87@xxxxxxxxx>
- Subject: Re: menu-select doesn't respect COMPLETE_IN_WORD option
- Date: Tue, 9 Jun 2020 18:11:38 -0700
- Cc: Zsh Users <zsh-users@xxxxxxx>
- In-reply-to: <CAL7A0-P6qmPidGHiYy6=1jmUY6T=X4xktbp1Wv2CBO0CX2xJRQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAL7A0-P6qmPidGHiYy6=1jmUY6T=X4xktbp1Wv2CBO0CX2xJRQ@mail.gmail.com>
On Tue, Jun 9, 2020 at 4:58 PM Alan <8fvebtoeq87@xxxxxxxxx> wrote:
>
> I have COMPLETE_IN_WORD set, but menu-select doesn't respect it.
You're misunderstanding what COMPLETE_IN_WORD does. It tries to match
both the leading and trailing parts.
What you want is to invoke the expand-or-complete-prefix widget
instead of the default expand-or-complete.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author