Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Why does _main_complete not try the next completer when $_comp_mesg is non-zero?



> On 1. Apr 2021, at 20.08, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>>> Considered using an «{ } always { }» block?
>> 
>> What for?
> 
> For clarity, since it seems that's the pattern you're shooting for.
> Also, it would take care of preserving $?.
> 
>> I have no need to ever restore the original _complete().
> 
> An always block wouldn't do this.

OK, now I’m really lost. I have no idea what you’re talking about. Could you post some code to illustrate what you’re talking about?






Messages sorted by: Reverse Date, Date, Thread, Author