notnmeyer / tsk

A really, really simple task runner. Single binary, TOML task format.
MIT License
4 stars 0 forks source link

`env` key not inheriting parent env is really annoying #23

Closed notnmeyer closed 1 year ago

notnmeyer commented 1 year ago

using this is bit, its really annoying that setting env doesn't inherit the parent env. like, PATH isn't preserved which means you'd have to write commands differently, etc.

the parent env should just be inherited in all situations, and then env and dotenv are both appended... I think? need to go back through the docs and confirm whether its the first instance or last instance of a var that wins.

I think the order of precedent from lowest to highest should be,