From: Daniel Hahler Date: Sun, 16 Nov 2014 11:35:17 +0000 (+0100) Subject: Set DOTENV_LOOK_UPWARDS=1 by default X-Git-Url: http://www.git.stargrave.org/?p=zsh-autoenv.git;a=commitdiff_plain;h=f8a9942968f9fa2644c223c26eb0a92411d806c3 Set DOTENV_LOOK_UPWARDS=1 by default Fixes https://github.com/Tarrasch/zsh-autoenv/issues/3 --- 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?