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

pull/6726/head
Leah Amelia Chen 2025-03-14 13:33:37 +01:00 committed by GitHub
commit c2aac45848
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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/