mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-12-22 10:50:16 +02:00
_autoenv_hash_pair: use sha1sum (C) instead of shasum (Perl) (#52)
This improves performance.
This commit is contained in:
parent
0ad53b6ee6
commit
448ceefd3a
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user