unclutter your .profile. direnv is an extension for your shell. It augments existing shells with a new feature that can load and unload environment variables depending on the current directory.
direnv @ GitHub.