From e25a48e1f8334d63063d6534256d86ad696d1e4d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 19 Aug 2016 10:05:45 +1000 Subject: [PATCH] Check OS earlier in the script --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 69ec905a..3ab476c6 100755 --- a/neofetch +++ b/neofetch @@ -3009,9 +3009,9 @@ getargs() { # Call Functions and Finish Up {{{ main() { + getos getdefaultconfig 2>/dev/null getargs "$@" - getos # Restore cursor and clear screen on ctrl+c trap 'printf "\033[?25h"; clear; exit' 2