From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25243 invoked from network); 15 Nov 2000 10:56:46 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Nov 2000 10:56:46 -0000 Received: (qmail 26153 invoked by alias); 15 Nov 2000 10:57:12 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13166 Received: (qmail 26145 invoked from network); 15 Nov 2000 10:57:12 -0000 Date: Wed, 15 Nov 2000 11:56:38 +0100 (MET) Message-Id: <200011151056.LAA05515@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Tue, 14 Nov 2000 16:10:25 +0000 Subject: Re: PATCH: zsh and perl Bart Schaefer wrote: > ... > > Any suggestions for how to avoid the chpwd problem? I'm sure I'm missing something, but... why not just avoid the cd altogether? Something like new_pms=( $libdir/{[a-Z]*/***/,}*.pm~*blib* ) new_pms=( "${(@)new_pms#$libdir/}" ) probably testing if $libdir is non-empty before that... Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de