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

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@xxxxxxxxxxxxxxxxxxxxxxx



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