From 1293c09ab0cefe83f3f897164b6c2d667f27ba1e Mon Sep 17 00:00:00 2001 From: Ivan Petkov Date: Tue, 28 Nov 2023 17:08:08 -0800 Subject: [PATCH] Do not use `local -n` * zsh on macOS (the default shell) apparently does not support `local -n` and will error out if used --- direnvrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direnvrc b/direnvrc index 91a2979..6eef9fc 100644 --- a/direnvrc +++ b/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