From 5d4e65ad5447404dc47dc964bcf8c47df0470f37 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 12 Jun 2016 12:06:30 +1000 Subject: [PATCH] Trim '$ascii_distro' variable --- neofetch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neofetch b/neofetch index ef4a95ee..969fb434 100755 --- a/neofetch +++ b/neofetch @@ -2697,7 +2697,6 @@ colors () { "Windows"*) setcolors 1 2 4 3 - ascii_distro="windows" ;; "Raspbian"* | *) @@ -3281,7 +3280,7 @@ trap 'printf "\033[?25h"; clear; exit' 2 # Distro detection getdistro -[ -z "$ascii_distro" ] && ascii_distro="$distro" +[ -z "$ascii_distro" ] && ascii_distro="$(trim $distro)" # Get colors and bold bold