Skip to content

direnv

Posted on:September 23, 2022 at 03:22 PM

direnv enables / disables environment variables dynamically based on the pwd

This was particularly useful when I had to set a new github account for some private repos. I could just set the GIT_SSH_COMMAND env variable to use the ssh-keys associated with the new account.