From d02c590ff7ce1a9e15c178d243603cda6138e5d6 Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Sat, 2 Jun 2018 13:09:02 +1000 Subject: [PATCH] misc: fix most SC1117 errors from PlistBuddy --- neofetch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/neofetch b/neofetch index c5141917..f3b401c0 100755 --- a/neofetch +++ b/neofetch @@ -2837,25 +2837,25 @@ 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" | \ + profiles_count="$(PlistBuddy -c "Print ':New Bookmarks:'" "$font_file" | \ grep -w -c "Guid")" for ((i=0; i