diff options
author | Marc Cornellà <marc.cornella@live.com> | 2015-08-16 22:19:59 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2015-09-05 22:47:50 +0200 |
commit | 6a8d406eaa715814dc5a6df08960d1fe62e5c066 (patch) | |
tree | 903bd46badba11654054b5d7896847eba0d4c5c9 /lib/completion.zsh | |
parent | 3976e040350bd9ac9423252b97dee28d3762adc2 (diff) | |
download | zsh-6a8d406eaa715814dc5a6df08960d1fe62e5c066.tar.gz zsh-6a8d406eaa715814dc5a6df08960d1fe62e5c066.tar.bz2 zsh-6a8d406eaa715814dc5a6df08960d1fe62e5c066.zip |
Use prompt expansion sequence to color red the output
This makes it clearer and possibly more portable for different
platforms.
Diffstat (limited to 'lib/completion.zsh')
-rw-r--r-- | lib/completion.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh index e848ea2dd..81250d9e1 100644 --- a/lib/completion.zsh +++ b/lib/completion.zsh @@ -60,7 +60,7 @@ zstyle '*' single-ignored show if [[ $COMPLETION_WAITING_DOTS = true ]]; then expand-or-complete-with-dots() { - echo -n "\e[31m......\e[0m" + print -Pn "%{%F{red}......%f%}" zle expand-or-complete zle redisplay } |