summaryrefslogtreecommitdiff
path: root/internal/wizard.zsh
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-06-28 11:45:46 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-06-28 11:45:46 +0300
commitdb6f909958bdc452f45f62df58c123c50fed1c5f (patch)
treea9073b987b88afd4d62b18b1d9b5958fa4dcdcad /internal/wizard.zsh
parentae32fd58b3623b52005c72fb1edcb09ab753ad45 (diff)
suppress the expected error message from PlistBuddy
Diffstat (limited to 'internal/wizard.zsh')
-rw-r--r--internal/wizard.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index 767b787a..eb27e2c1 100644
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -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