fix progress messages when installing fonts

pull/581/head
romkatv 5 years ago
parent 3f61e27b8c
commit b626f06e64

@ -367,7 +367,9 @@ function install_font() {
run_command "" /usr/libexec/PlistBuddy -c \ run_command "" /usr/libexec/PlistBuddy -c \
"Add :\"New Bookmarks\":0:$k $t $v" ~/Library/Preferences/com.googlecode.iterm2.plist "Add :\"New Bookmarks\":0:$k $t $v" ~/Library/Preferences/com.googlecode.iterm2.plist
done done
run_command "Updating %BiTerm2%b settings cache" /usr/bin/defaults read com.googlecode.iterm2 print -P " %2FOK%f"
print -nP "Updating %BiTerm2%b settings cache ..."
run_command "" /usr/bin/defaults read com.googlecode.iterm2
sleep 3 sleep 3
print -P " %2FOK%f" print -P " %2FOK%f"
clear clear

Loading…
Cancel
Save