fixed ${XDG_CONFIG_HOME}
based configuration path
This commit is contained in:
parent
ff17c6b92c
commit
169071c7dd
1 changed files with 4 additions and 4 deletions
2
gpgtool
2
gpgtool
|
@ -300,7 +300,7 @@ done
|
|||
[[ "$1" =~ "(-h|--help|help)" ]] && usage && exit 0
|
||||
|
||||
# Source config file:
|
||||
for dir in "$(dirname $0)" "${HOME}/.config/gpgtool" "${XDG_CONFIG_HOME}"
|
||||
for dir in "$(dirname $0)" "${HOME}/.config/gpgtool" "${XDG_CONFIG_HOME}/gpgtool"
|
||||
do
|
||||
[[ -f "${dir}/gpgtool.conf" ]] && source "${dir}/gpgtool.conf"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue