From f8a9942968f9fa2644c223c26eb0a92411d806c3 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 16 Nov 2014 12:35:17 +0100 Subject: [PATCH] Set DOTENV_LOOK_UPWARDS=1 by default Fixes https://github.com/Tarrasch/zsh-autoenv/issues/3 --- autoenv.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoenv.zsh b/autoenv.zsh index 723fe60..60c8d03 100644 --- a/autoenv.zsh +++ b/autoenv.zsh @@ -12,7 +12,7 @@ export ENV_AUTHORIZATION_FILE=$HOME/.env_auth : ${DOTENV_FILE_LEAVE:=.env.leave} # Look for .env in parent dirs? -: ${DOTENV_LOOK_UPWARDS:=0} +: ${DOTENV_LOOK_UPWARDS:=1} # Handle leave events when changing away from a subtree, where an "enter" # event was handled? -- 2.48.1