Update conditional checks and add yadm pre_commit hook

This commit is contained in:
Tobias Reisinger 2023-10-20 14:57:50 +02:00
parent d3ba8c473d
commit 1251bb4eab
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 45 additions and 9 deletions

View file

@ -52,6 +52,6 @@ for additional_env in "$XDG_CONFIG_HOME/env.d/"*; do
esac
# shellcheck disable=1090
test -r "$additional_env" && . "$additional_env"
test -x "$additional_env" && . "$additional_env"
done
unset additional_env