From fa8a1e82ecc3b564731a2a4f1f2b7a086362407d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 19 Aug 2016 10:03:33 +1000 Subject: [PATCH] Cleanup --- neofetch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 613414c6..69ec905a 100755 --- a/neofetch +++ b/neofetch @@ -118,6 +118,9 @@ getdistro() { [ "$osx_buildversion" == "off" ] && \ distro="${distro/ ${osx_build}}" + + [ "${ascii_distro:-auto}" == "auto" ] && \ + ascii_distro="$(trim "$distro")" } # }}} @@ -3018,8 +3021,6 @@ main() { # Distro detection getdistro - [ "${ascii_distro:-auto}" == "auto" ] && \ - ascii_distro="$(trim "$distro")" # Get colors and bold bold