From fc229704c8ee03452f8f4e5cf30bccbe1e4bdd7d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 20 May 2018 15:36:54 +1000 Subject: [PATCH] general: term_size, macos fix. --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index c6361da2..15eed8ac 100755 --- a/neofetch +++ b/neofetch @@ -3688,7 +3688,7 @@ get_term_size() { # If the sequences above don't work and the user is on a macOS system # or a system not running an X server, return early. - [[ -z "$DISPLAY" || "$os" == "Mac OS X" ]] && \ + [[ -z "$DISPLAY" ]] && \ { term_width=0; return; } # Get terminal width/height if \e[14t is unsupported.