Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: misc.
- X-seq: zsh-workers 9422
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: misc.
- Date: Mon, 24 Jan 2000 20:01:20 +0000
- In-reply-to: "Sven Wischnowsky"'s message of "Mon, 24 Jan 2000 09:57:11 +0100." <200001240857.JAA02632@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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