]> Sergey Matveev's repositories - zsh-autoenv.git/blobdiff - autoenv.zsh
_autoenv_hash_pair: use sha1sum (C) instead of shasum (Perl) (#52)
[zsh-autoenv.git] / autoenv.zsh
index b6863cb443156cf61a232046c1124107d711f59e..5882f9f6564143d3b41976133455d7ce05073593 100644 (file)
@@ -179,7 +179,7 @@ _autoenv_hash_pair() {
       echo "Missing file argument for _autoenv_hash_pair!" >&2
       return 1
     fi
-    env_shasum=$(shasum $env_file | cut -d' ' -f1)
+    env_shasum=$(sha1sum $env_file | cut -d' ' -f1)
   fi
   echo ":${env_file}:${env_shasum}:1"
 }