From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19570 invoked from network); 24 Jan 2000 19:58:51 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 24 Jan 2000 19:58:51 -0000 Received: (qmail 1705 invoked by alias); 24 Jan 2000 19:58:45 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9422 Received: (qmail 1698 invoked from network); 24 Jan 2000 19:58:44 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: misc. In-reply-to: "Sven Wischnowsky"'s message of "Mon, 24 Jan 2000 09:57:11 +0100." <200001240857.JAA02632@beta.informatik.hu-berlin.de> Date: Mon, 24 Jan 2000 20:01:20 +0000 From: Peter Stephenson Message-Id: 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