fc49b4a4ded376cd82b813dcb6d72fdc050b7bed

Author
Loïc Yhuel <loic.yhuel@gmail.com>
Committer
Loïc Yhuel <loic.yhuel@gmail.com>
Date

Message

Enable red dots during completion by default

Diff

 1diff --git a/lib/completion.zsh b/lib/completion.zsh
 2index b3cc918229ce3cdf60f6434cda1ecf1e7a385a77..2a457402a90d3198fb6233c1ea50d4c862b6b1c9 100644
 3--- a/lib/completion.zsh
 4+++ b/lib/completion.zsh
 5@@ -59,7 +59,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
 6 # ... unless we really want to.
 7 zstyle '*' single-ignored show
 8 
 9-if [ "x$COMPLETION_WAITING_DOTS" = "xtrue" ]; then
10+if [ "$DISABLE_COMPLETION_WAITING_DOTS" != "true" ]; then
11   expand-or-complete-with-dots() {
12     echo -n "\e[31m......\e[0m"
13     zle expand-or-complete
14diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template
15index 1ab40aba6d39eca4648267dfc25420b355c10b5b..4de1fa4e93eef740d94c3b31b2f87d0cec4648da 100644
16--- a/templates/zshrc.zsh-template
17+++ b/templates/zshrc.zsh-template
18@@ -19,8 +19,8 @@ ZSH_THEME="robbyrussell"
19 # Uncomment following line if you want to disable autosetting terminal title.
20 # DISABLE_AUTO_TITLE="true"
21 
22-# Uncomment following line if you want red dots to be displayed while waiting for completion
23-# COMPLETION_WAITING_DOTS="true"
24+# Uncomment following line if you want disable red dots displayed while waiting for completion
25+# DISABLE_COMPLETION_WAITING_DOTS="true"
26 
27 # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
28 # Example format: plugins=(rails git textmate ruby lighthouse)