Set DOTENV_LOOK_UPWARDS=1 by default

Fixes https://github.com/Tarrasch/zsh-autoenv/issues/3
This commit is contained in:
Daniel Hahler 2014-11-16 12:35:17 +01:00
parent b25f6b14dc
commit f8a9942968
1 changed files with 1 additions and 1 deletions

View File

@ -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?