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.