From e2d1cb27a518cb52770479d3675c198822e49d6e Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Thu, 2 Mar 2017 01:56:29 +0100 Subject: [PATCH] Fix comparison --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 9d54041e..10bf0373 100755 --- a/neofetch +++ b/neofetch @@ -1666,7 +1666,7 @@ get_term_font() { # selected one, but then decided to uncheck the "use different font" mark # again. local nonAsciiFont=$(/usr/libexec/PlistBuddy -c "Print :New\ Bookmarks:${idx}:Non\ Ascii\ Font:" ~/Library/Preferences/com.googlecode.iterm2.plist) - if [[ "$term_font" -ne "$nonAsciiFont" ]]; then + if [[ "$term_font" != "$nonAsciiFont" ]]; then term_font="$term_font (normal) / $nonAsciiFont (non-ascii)" fi fi