From 45ccd8a0101ceda41ce29145a271cbda35085a2d Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 13 Apr 2016 15:31:53 +1000 Subject: [PATCH] Fixes #224 --- neofetch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 84045de7..daac5c2b 100755 --- a/neofetch +++ b/neofetch @@ -513,7 +513,6 @@ getdistro () { ;; esac distro=${distro//+( )/ } - ascii_distro="$distro" # Get architecture [ "$os_arch" == "on" ] && \ @@ -2902,7 +2901,11 @@ done # Restore cursor and clear screen on ctrl+c trap 'printf "\033[?25h"; clear; exit' 2 +# Distro detection getdistro +[ -z "$ascii_distro" ] && ascii_distro="$distro" + +# Text formatting colors bold