Re: [PATCH] Fix custom program's completions when initial word is set

2018-11-26 Thread Luca Boccassi
On Sun, 2018-11-25 at 23:04 +1300, Tom Ryder wrote: > On Fri, Nov 23, 2018 at 12:48:54PM +, Luca Boccassi wrote: > > The fix is to only override foundcs if both iw_compspec is not null > > and we are not in command position. > > Thank you for this patch. I first ran into the issue with 5.0-bet

Re: [PATCH] Fix custom program's completions when initial word is set

2018-11-25 Thread Tom Ryder
On Fri, Nov 23, 2018 at 12:48:54PM +, Luca Boccassi wrote: The fix is to only override foundcs if both iw_compspec is not null and we are not in command position. Thank you for this patch. I first ran into the issue with 5.0-beta2 another way: I noticed that my default completion spec with