]> Sergey Matveev's repositories - zsh-autoenv.git/commitdiff
Set DOTENV_LOOK_UPWARDS=1 by default
authorDaniel Hahler <git@thequod.de>
Sun, 16 Nov 2014 11:35:17 +0000 (12:35 +0100)
committerDaniel Hahler <git@thequod.de>
Sun, 16 Nov 2014 11:35:17 +0000 (12:35 +0100)
Fixes https://github.com/Tarrasch/zsh-autoenv/issues/3

autoenv.zsh

index 723fe608aa9d3d5ee4946bead5a936408622d332..60c8d03189d44b2640648528ce6c74cd906db6e9 100644 (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?