From 3bbe52b93bf12b416d6375fc15cf769c49bf984b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 16 Dec 2016 12:50:39 +1100 Subject: [PATCH] Args: Fix regex --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 9693e863..23b731d5 100755 --- a/neofetch +++ b/neofetch @@ -3133,7 +3133,7 @@ exit 1 get_args() { # Check the commandline flags early for '--config none/off' - [[ "$@" =~ \-\-config\ ?(off|none) ]] || get_user_config 2>/dev/null + [[ "$@" =~ --config\ ?(off|none) ]] || get_user_config 2>/dev/null while [[ "$1" ]]; do case "$1" in