I would observe Immemorial Day,…
but nobody can tell me its date.
but nobody can tell me its date.
I have used direnv on and off for a very long time, and I recently had a new reason to use it but found that it didn't really fit my use case this time, so I developed a new tool called Shell Context that is more compatible with my current work pattern.
Specifically, I am accessing the same project directories from a host system (mostly editing and interacting and committing) and a container (testing and running). That means there are different environment requirements for those contexts.
Shell Context allows a context name to be specified in a file in the project but keeps the code to manage the environment in a central location, outside of the project.
If this sounds interesting to you, then please give Shell Context a try, and then let me know what you think.
Suggestions, bug reports, and contributions are welcome (via GitHub).