Commit 6a8d406e authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Use prompt expansion sequence to color red the output

This makes it clearer and possibly more portable for different
platforms.
parent 3976e040
...@@ -60,7 +60,7 @@ zstyle '*' single-ignored show ...@@ -60,7 +60,7 @@ zstyle '*' single-ignored show
if [[ $COMPLETION_WAITING_DOTS = true ]]; then if [[ $COMPLETION_WAITING_DOTS = true ]]; then
expand-or-complete-with-dots() { expand-or-complete-with-dots() {
echo -n "\e[31m......\e[0m" print -Pn "%{%F{red}......%f%}"
zle expand-or-complete zle expand-or-complete
zle redisplay zle redisplay
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment