Re: null array[*] expansion not treated as null

2018-11-25 Thread L A Walsh
On 11/12/2018 1:32 PM, Grisha Levit wrote: When an array A has non-zero elements but the expansion of "${A[*]}" is still a null string, it is not treated as such for purposes of ${var:-X} expansion (though $* is treated as null in the same circumstance). $ A=(''); set -- '' $ echo "<${

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