mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-14 04:32:12 +00:00
Fix comparison
This commit is contained in:
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
Block a user