volution / z-run

z-run -- scripting library lightweight Go-based tool
35 stars 1 forks source link

Add support for custom `bin` folder to prepend to `PATH` #8

Closed cipriancraciun closed 4 years ago

cipriancraciun commented 4 years ago

In a similar fashion how z-run detects the library sources, it should detect bin folders that should be prepended to the PATH.

This can be used to:

cipriancraciun commented 4 years ago

This was solved by declaring extra paths to prepend to the PATH variable like so:

&&== path some-folder

(Where some-folder is relative to the current source file directory.)