From d396e529240fa686eae438eebf65bc0222c6ca5d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 23 Dec 2016 00:39:39 +1100 Subject: [PATCH] DE: Exit function if DE == WM --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index c29429c1..bf0f65a2 100755 --- a/neofetch +++ b/neofetch @@ -561,7 +561,7 @@ get_de() { fi # If DE == WM unset DE. - [[ "$de" =~ $wm ]] && unset -v de + [[ "$de" =~ $wm ]] && { unset -v de; return; } ;; esac