fix: Use builtin source_env_if_exists for sourcing .envrc.local (#6717)

This commit is contained in:
Leah Amelia Chen
2025-03-14 13:33:37 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

3
.envrc
View File

@@ -5,5 +5,4 @@ if has nix; then
use flake
fi
# Source an `.envrc.local` if it exists. You can add your custom changes there.
[[ -f .envrc.local ]] && source_env .envrc.local
source_env_if_exists .envrc.local

1
.gitignore vendored
View File

@@ -5,6 +5,7 @@
.DS_Store
.vscode/
.direnv/
.envrc.local
.flatpak-builder/
zig-cache/
.zig-cache/