]> Sergey Matveev's repositories - zsh-autoenv.git/blobdiff - autoenv.zsh
Set DOTENV_LOOK_UPWARDS=1 by default
[zsh-autoenv.git] / autoenv.zsh
index 60c8d03189d44b2640648528ce6c74cd906db6e9..1499103e5918216e5d5b28e7289d4453ecf5a4cb 100644 (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() {