Beautify output

pull/22/head
Dominik Ritter 8 years ago
parent 01681a7387
commit ef7504354f

@ -170,11 +170,13 @@ get_term_font() {
local currentTerminal=$(get_term)
local currentFont=$(get_term_font "${currentTerminal}")
print -P "You are using %F{blue}${currentTerminal}%f with Font %F{blue}${currentFont}%f"
print -P "===== Font debugging ====="
print -P "You are using %F{blue}${currentTerminal}%f with Font %F{blue}${currentFont}%f\n"
if [[ $(echo "${currentFont}" | grep -c -E "Powerline|Awesome|Nerd") -eq 0 ]]; then
print -P "%F{yellow}WARNING%f It does not seem like you use an Powerline-enabled or Awesome Terminal Font!"
print -P "Please make sure that your font settings are correct!"
else
print -P "Your font settings seem to be all right. If you still have issues, it is more likely to be a font issue than a Powerlevel9k related one."
print -P "Your font settings seem to be all right. If you still have issues,"
print -P "it is more likely to be a font issue than a Powerlevel9k related one."
fi

Loading…
Cancel
Save