diff --git a/zpac b/zpac index 028d7be..356eb05 100755 --- a/zpac +++ b/zpac @@ -5,7 +5,7 @@ _self="${0##*/}" -cfg_workdir="/tmp/$USER/zpac" +cfg_workdir="$PWD" cfg_aur_url='https://aur.archlinux.org' cfg_aur_api="${cfg_aur_url}/rpc.php" @@ -111,6 +111,10 @@ abs.get() { } main() { + if [[ -f "$HOME/.config/zpac.rc.sh" ]]; then + source "$HOME/.config/zpac.rc.sh" + fi + while (( $# )); do case "$1" in --help|-h) usage; return 0;;