Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] COMPLETE_IN_WORD fails to recognize brace_parameter context
- X-seq: zsh-workers 48792
- From: Marlon Richert <marlon.richert@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [BUG] COMPLETE_IN_WORD fails to recognize brace_parameter context
- Date: Sat, 8 May 2021 16:04:36 +0300
- Archived-at: <https://zsh.org/workers/48792>
- In-reply-to: <CAH+w=7ajH4H9eJwB5=jEGm77VZXhRGD5h53wT7Un=py8jeb-dg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7ajH4H9eJwB5=jEGm77VZXhRGD5h53wT7Un=py8jeb-dg@mail.gmail.com>
On 8 May 2021, at 03:04, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
>> This works correctly:
>>
>> % setopt completeinword
>> % tst() { print "\n$compstate[context]"; zle -I }
>
> I think there's something missing here for the test case. A style or
> a bindkey? Something to run "tst"?
Ah, yes. I apparently forget to add:
% zle -C tst complete-word tst
% bindkey '^I' tst
But it looks like you figured out the gist of it anyway. :)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author