Merge branch 'master' into update_flake_lock_action

This commit is contained in:
mergify[bot] 2023-11-27 13:37:51 +00:00 committed by GitHub
commit c5b6ca3a13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,7 +208,7 @@ _nix_direnv_watches() {
return
fi
while IFS= read -r line; do
local regex='"path": "(.+)"$'
local regex='"[Pp]ath": "(.+)"$'
if [[ "$line" =~ $regex ]]; then
local path="${BASH_REMATCH[1]}"
if [[ "$path" == "${XDG_DATA_HOME:-${HOME:-/var/empty}/.local/share}/direnv/allow/"* ]]; then