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

Re: Bug#377765: zsh: completion of configure script does not handle underscore properly



On Thu, Mar 29, 2007 at 01:20:08AM +0000, Ryo IGARASHI wrote:
>> --- Completion/Base/Utility/_arguments  27 Sep 2006 16:53:59 -0000      1.17
>> +++ Completion/Base/Utility/_arguments  7 Oct 2006 09:50:40 -0000
>> @@ -165,7 +165,7 @@
>>                      "${${opt%%\=*}//[^a-zA-Z0-9-]}=:${(L)${opt%\]}#*\=}: " )
>>            done
>>          else
>> -          tmpo=("${(@)${(@)tmpo%%\=*}//[^a-z0-9-]}")
>> +          tmpo=("${(@)${(@)tmpo%%\=*}//[^a-z0-9_-]}")
>>
>>           cache=( "$cache[@]" "${(@)^tmpo}=${dir}${descr}" )
>>          fi
>>
>
> The above patch solved my problem and I haven't experienced any
> side effect yet.
>
> Well, I am very sorry for the late reply.

This still seems to be an issue and that patch no longer applies to
current _arguments.



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