mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 00:10:08 +00:00
suppress the expected error message from PlistBuddy
This commit is contained in:
+1
-1
@@ -535,7 +535,7 @@ function install_font() {
|
||||
)
|
||||
for k t v in $settings; do
|
||||
/usr/libexec/PlistBuddy -c "Set :\"New Bookmarks\":0:$k $v" \
|
||||
~/Library/Preferences/com.googlecode.iterm2.plist && continue
|
||||
~/Library/Preferences/com.googlecode.iterm2.plist 2>/dev/null && continue
|
||||
run_command "" /usr/libexec/PlistBuddy -c \
|
||||
"Add :\"New Bookmarks\":0:$k $t $v" ~/Library/Preferences/com.googlecode.iterm2.plist
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user