mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
Merge pull request #128 from DanielGGordon/master
Rephrasing of error message when TERM not 256 color
This commit is contained in:
commit
43d8b34a21
1 changed files with 1 additions and 1 deletions
|
@ -936,7 +936,7 @@ powerlevel9k_init() {
|
||||||
term_colors=$(tput colors)
|
term_colors=$(tput colors)
|
||||||
if (( term_colors < 256 )); then
|
if (( term_colors < 256 )); then
|
||||||
print -P "%F{red}WARNING!%f Your terminal supports less than 256 colors!"
|
print -P "%F{red}WARNING!%f Your terminal supports less than 256 colors!"
|
||||||
print "You should set TERM=xterm-256colors in your ~/.zshrc"
|
print -P "You should put: %F{blue}export TERM=\"xterm-256color\"%f in your \~\/.zshrc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
setopt LOCAL_OPTIONS
|
setopt LOCAL_OPTIONS
|
||||||
|
|
Loading…
Reference in a new issue