From f49919e95773878709e2e0c52453d4321a31c521 Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Thu, 24 May 2018 14:27:39 +1000 Subject: [PATCH] Revert "term_font: fix iTerm2 checking 2 more profiles than exists" This reverts commit 15c2939779aa1d4ba156a156300903336f004cea. --- neofetch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/neofetch b/neofetch index 853e90af..68b9e6aa 100755 --- a/neofetch +++ b/neofetch @@ -2800,10 +2800,9 @@ END font_file="${HOME}/Library/Preferences/com.googlecode.iterm2.plist" # Count Guids in "New Bookmarks"; they should be unique - profiles_count="$(PlistBuddy -c "Print :New\ Bookmarks:" "$font_file" | \ - grep -w -c "Guid")" + profiles_count="$(PlistBuddy -c "Print :New\ Bookmarks:" "$font_file" | grep -c "Guid")" - for ((i=0; i