Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: zsh and perl
- X-seq: zsh-workers 13166
 
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: Re: PATCH: zsh and perl
 
- Date: Wed, 15 Nov 2000 11:56:38 +0100 (MET)
 
- In-reply-to: "Bart Schaefer"'s message of Tue, 14 Nov 2000 16:10:25 +0000
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
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@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author