Add additional config location
This commit is contained in:
parent
3470b6c039
commit
44ce9c6bca
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ elif [ -f "${HOME}/.config/jstmbash.env" ] && [ "${JSTMBASH_LOCAL_CONFIG}" != "t
|
||||||
source "${HOME}/.config/jstmbash.env"
|
source "${HOME}/.config/jstmbash.env"
|
||||||
elif [ -f "/etc/jstmbash/config.env" ] && [ "${JSTMBASH_LOCAL_CONFIG}" != "true" ]; then
|
elif [ -f "/etc/jstmbash/config.env" ] && [ "${JSTMBASH_LOCAL_CONFIG}" != "true" ]; then
|
||||||
source "/etc/jstmbash/config.env"
|
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
|
elif [ -f "$(pwd)/config.env" ]; then
|
||||||
source "$(pwd)/config.env"
|
source "$(pwd)/config.env"
|
||||||
else
|
else
|
||||||
|
|
Reference in a new issue