mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-22 15:30:59 +02:00
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:
parent
9cb032a54c
commit
19d9e50650
@ -25,8 +25,7 @@ _dotenv_stack_entered=()
|
|||||||
|
|
||||||
_dotenv_hash_pair() {
|
_dotenv_hash_pair() {
|
||||||
local env_file=$1
|
local env_file=$1
|
||||||
env_shasum=$(shasum $env_file | cut -d' ' -f1)
|
echo "$env_file:$env_shasum:1"
|
||||||
echo "$env_file:$env_shasum"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_dotenv_authorized_env_file() {
|
_dotenv_authorized_env_file() {
|
||||||
|
Loading…
Reference in New Issue
Block a user