There is a project called mise which does setup of binaries, language version selection (like rbenv, gone, etc.), can setup environment variables (like direnv), and can run tasks (make, rake, gradle, etc.).
This is probably a better solution than manually writing something to do it for you.
There is a project called mise which does setup of binaries, language version selection (like
rbenv,gone, etc.), can setup environment variables (likedirenv), and can run tasks (make,rake,gradle, etc.).This is probably a better solution than manually writing something to do it for you.