Simplify default config
This commit is contained in:
parent
1b336f912e
commit
9a31740184
3
neofetch
3
neofetch
|
@ -2524,8 +2524,7 @@ getdefaultconfig () {
|
||||||
default_config="${script_dir}/config/config"
|
default_config="${script_dir}/config/config"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$default_config" ]; then
|
if source "$default_config"; then
|
||||||
source "$default_config"
|
|
||||||
err "Sourced default config ($default_config)"
|
err "Sourced default config ($default_config)"
|
||||||
else
|
else
|
||||||
err "Default config not found, continuing..."
|
err "Default config not found, continuing..."
|
||||||
|
|
Reference in New Issue