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

Re: Metacharacters in PATH variable?



Clint Olsen wrote:
>PATH=${PATH}:/opt/{ansic,langtools,audio}/bin

path=( $path /opt/{ansic,langtools,audio}/bin )

>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 )

-zefram



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