Fix comparison
This commit is contained in:
parent
eec7f08eee
commit
e2d1cb27a5
2
neofetch
2
neofetch
|
@ -1666,7 +1666,7 @@ get_term_font() {
|
||||||
# selected one, but then decided to uncheck the "use different font" mark
|
# selected one, but then decided to uncheck the "use different font" mark
|
||||||
# again.
|
# again.
|
||||||
local nonAsciiFont=$(/usr/libexec/PlistBuddy -c "Print :New\ Bookmarks:${idx}:Non\ Ascii\ Font:" ~/Library/Preferences/com.googlecode.iterm2.plist)
|
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)"
|
term_font="$term_font (normal) / $nonAsciiFont (non-ascii)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Reference in New Issue