mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-12-17 22:41:18 +01:00
Do not use local -n
* zsh on macOS (the default shell) apparently does not support `local -n` and will error out if used
This commit is contained in:
parent
6f38bdb647
commit
1293c09ab0
1 changed files with 1 additions and 1 deletions
2
direnvrc
2
direnvrc
|
|
@ -204,7 +204,7 @@ nix_direnv_watch_file() {
|
|||
}
|
||||
|
||||
_nix_direnv_watches() {
|
||||
local -n _watches=$1
|
||||
local _watches=$1
|
||||
if [[ -z "${DIRENV_WATCHES-}" ]]; then
|
||||
return
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue