Merge pull request #22 from codingCoffee/config-fix

fix(config): standardize config directory
This commit is contained in:
Andros Fenollosa 2023-05-29 10:05:53 +02:00 committed by GitHub
commit 7efb2b18df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
maza
View File

@ -8,7 +8,7 @@ URL_DNS_LIST="https://pgl.yoyo.org/adservers/serverlist.php?showintro=0&mimetype
NAME_OSX="Darwin" NAME_OSX="Darwin"
THIS_OS=$(uname -mrs) THIS_OS=$(uname -mrs)
PROGNAME=$(basename "$0") PROGNAME=$(basename "$0")
[[ -z "${XDG_CONFIG_HOME}" ]] && CONFIG=$HOME/.maza/ || CONFIG=$XDG_CONFIG_HOME/maza/ [[ -z "${XDG_CONFIG_HOME}" ]] && CONFIG=$HOME/.config/maza/ || CONFIG=$XDG_CONFIG_HOME/maza/
HOST_FILE=/etc/hosts HOST_FILE=/etc/hosts
COLOR_RED=$(tput setaf 1) COLOR_RED=$(tput setaf 1)
COLOR_GREEN=$(tput setaf 2) COLOR_GREEN=$(tput setaf 2)