Set DOTENV_LOOK_UPWARDS=1 by default

Change `_dotenv_hash_pair`, adding a version suffix to trigger
re-authentication.

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 9cb032a54c
commit 19d9e50650
1 changed files with 1 additions and 2 deletions

View File

@ -25,8 +25,7 @@ _dotenv_stack_entered=()
_dotenv_hash_pair() {
local env_file=$1
env_shasum=$(shasum $env_file | cut -d' ' -f1)
echo "$env_file:$env_shasum"
echo "$env_file:$env_shasum:1"
}
_dotenv_authorized_env_file() {