mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
suppress the expected error message from PlistBuddy
This commit is contained in:
parent
ae32fd58b3
commit
db6f909958
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue