diff options
author | Daniel Gordon <Daniel Gordon> | 2015-10-19 21:02:24 +0300 |
---|---|---|
committer | Daniel Gordon <Daniel Gordon> | 2015-10-19 21:02:24 +0300 |
commit | fa85a5158fa3d9ef84ecd3e94ab5deb805b735ab (patch) | |
tree | 9505d187ac814535d9f75d6ef1259ff622cbf00f /powerlevel9k.zsh-theme | |
parent | 38bccd1340389a26b75e92878bf61d6753df4462 (diff) |
Rephrasing of error message when TERM not 256 color
- Literal command to be added is highlighted in blue
- Now beginners won't try to add an incorrect command to ~/.zshrc
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index c2ee2625..d078258a 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -936,7 +936,7 @@ powerlevel9k_init() { term_colors=$(tput colors) if (( term_colors < 256 )); then 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 setopt LOCAL_OPTIONS |