Add additional config location
This commit is contained in:
parent
93f8cc06d1
commit
54e2228857
1 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,8 @@ fi
|
|||
# source configuration file
|
||||
if [ -f "${HOME}/.jstmbash/config.env" ] && [ "${JSTMBASH_LOCAL_CONFIG}" != "true" ]; then
|
||||
source "${HOME}/.jstmbash/config.env"
|
||||
elif [ -f "${HOME}/.config/jstmbash.env" ] && [ "${JSTMBASH_LOCAL_CONFIG}" != "true" ]; then
|
||||
source "${HOME}/.config/jstmbash.env"
|
||||
elif [ -f "/etc/jstmbash/config.env" ] && [ "${JSTMBASH_LOCAL_CONFIG}" != "true" ]; then
|
||||
source "/etc/jstmbash/config.env"
|
||||
elif [ -f "$(pwd)/config.env" ]; then
|
||||
|
|
Reference in a new issue