Get the latest tech news
I shouldn't of made this. Another direnv alternative for no reason
I hate having to do this. But I have. I’ve made ANOTHER tool to load up your env vars in a terminal. Why? Because I had a mare getting direnv to work on my specific Windows machine. It was really due to the way our office locked down the way a users $PROFILE works - that is it puts everything on OneDrive and there was a ton of admin issues getting it all working correctly.
This is common syntax for dotenv and direnv, but it won’t work as-is across all terminals. Make your life a bit easier and write an alias in your env - details here I haven’t gone to town building lots of neat integration tricks - and unlike direnv it DOESN’T autoload on entering/exiting a directory.
Or read this on Hacker News