qsgen2: Squash some unwanted debug messages
This commit is contained in:
parent
8da466d720
commit
2850f4567e
9
qsgen2
9
qsgen2
@ -113,9 +113,16 @@ fi
|
||||
zmodload zsh/files
|
||||
zmodload zsh/datetime
|
||||
|
||||
if [[ ${globaldebug} == "true" ]]; then
|
||||
local debug=true
|
||||
else
|
||||
# If you want to debug this function only, set this to true
|
||||
local debug=false
|
||||
fi
|
||||
|
||||
# Check for, an source, the config file for this specific website
|
||||
if [[ -f $(pwd)/config ]]; then
|
||||
if (${debug}); then echo "${red}Config file found and sourced${end}\n- ${yellow} - $(pwd)/config${end}"; fi
|
||||
if (${debug}); then echo "${red}Config file found and sourced${end}\n- ${yellow} - $(pwd)/config${end}"; fi
|
||||
# CONFIG=$(pwd)/config
|
||||
builtin source $(pwd)/config
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user