Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Metacharacters in PATH variable?
- X-seq: zsh-workers 2763
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: zefram@xxxxxxxxxxxxxxxxx (Zefram)
- Subject: Re: Metacharacters in PATH variable?
- Date: Thu, 9 Jan 1997 22:05:59 +0100 (MET)
- Cc: olsenc@xxxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <7270.199701091904@xxxxxxxxxxxxxxxxxxxxxxx> from Zefram at "Jan 9, 97 07:04:56 pm"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
Zefram wrote:
> >or better yet somehow dynamically find all the bin dirs here and add it to
> >the path in some sort of compact notation like the above.
>
> path=( $path /opt/*/bin )
Or if the bin dir is deeper, you can try
path=( $path /opt/**/bin(-/) )
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author