Add additional config location

This commit is contained in:
JeremyStar™ 2024-03-15 01:17:53 +01:00
parent 3470b6c039
commit 44ce9c6bca

View file

@ -17,6 +17,8 @@ elif [ -f "${HOME}/.config/jstmbash.env" ] && [ "${JSTMBASH_LOCAL_CONFIG}" != "t
source "${HOME}/.config/jstmbash.env"
elif [ -f "/etc/jstmbash/config.env" ] && [ "${JSTMBASH_LOCAL_CONFIG}" != "true" ]; then
source "/etc/jstmbash/config.env"
elif [ -f "/etc/jstmbash.env" ] && [ "${JSTMBASH_LOCAL_CONFIG}" != "true" ]; then
source "/etc/jstmbash.env"
elif [ -f "$(pwd)/config.env" ]; then
source "$(pwd)/config.env"
else