From a2d106daecfd3e6068c3f305af0732b875e8ac27 Mon Sep 17 00:00:00 2001 From: James Martelletti Date: Thu, 13 Dec 2012 13:28:49 +1100 Subject: [PATCH] Make waiting dots themeable --- lib/completion.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/completion.zsh b/lib/completion.zsh index ba839a067..4b42bfb63 100644 --- a/lib/completion.zsh +++ b/lib/completion.zsh @@ -62,8 +62,10 @@ zstyle ':completion:*:*:*:users' ignored-patterns \ zstyle '*' single-ignored show if [ "x$COMPLETION_WAITING_DOTS" = "xtrue" ]; then + ZSH_THEME_COMPLETION_WAITING_DOTS="\e[31m......\e[0m" + expand-or-complete-with-dots() { - echo -n "\e[31m......\e[0m" + echo -n "$ZSH_THEME_COMPLETION_WAITING_DOTS" zle expand-or-complete zle redisplay }