Re: [PATCH] use real compspec hash key for compopt output

2023-08-03 Thread Chet Ramey
On 7/28/23 2:52 PM, Grisha Levit wrote: The output of `compopt' in a running completion function is a command where the last word is usually the command for which the compspec was defined. However, if the current compspec was found by using the basename of the command word, or by invoking defaul

[PATCH] use real compspec hash key for compopt output

2023-07-28 Thread Grisha Levit
The output of `compopt' in a running completion function is a command where the last word is usually the command for which the compspec was defined. However, if the current compspec was found by using the basename of the command word, or by invoking default completion, the output will use the type