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

Re: PATCH: misc.



Sven Wischnowsky wrote:
> -if [[ ${#_patcomps} -eq 0 || -z ${_patcomps[(r)zf*]} ]]; then
> +if [[ ${#_patcomps} -eq 0 || -z ${_patcomps[(r)_zf*]} ]]; then

The index was originally `[(i)zf*]' until you interpreted this as a bug and
changed the (i) to (r), hence it was originally searching the keys of
_patcomps for zf* functions, not the values for _zftp.  But the final
result is perfectly OK.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>



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