A Fish Shell plugin that automatically loads environment variables from a .env file in the current project.
- 🔁 Automatically loads environment variables from a
.envfile in the current project. - 🐟 Lightweight and runs on every directory change
- 🔻 Automatically erases environment variables when leaving the project directory.
- 🐙 Supports Git repositories (uses repo root as project dir)
- 🔄 Supports environment variable expansion using
${VAR}and$VARsyntax
With fisher
fisher install SpaceShaman/autoenv.fishWith reef
reef install SpaceShaman/autoenv.fishCopy the conf.d/autoenv.fish file to your ~/.config/fish/conf.d directory.