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

Re: Metacharacters in PATH variable?



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