From c205fc898767d4cfb51e1625f1891ff8d0edefab Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 19 Dec 2016 15:02:02 +1100 Subject: [PATCH] Args: Fix user config being sourced twice --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 9892543c..8d480093 100755 --- a/neofetch +++ b/neofetch @@ -3130,8 +3130,8 @@ exit 1 } get_args() { - # Check the commandline flags early for '--config none/off' - [[ "$@" =~ --config\ ?(off|none) ]] || get_user_config 2>/dev/null + # Check the commandline flags early for '--config' + [[ "$@" =~ --config ]] || get_user_config 2>/dev/null while [[ "$1" ]]; do case "$1" in