9d67d75b0ad62242e60db1bd6d22ae7ea252c7bc

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Revert "Enable red dots during completion by default".

After a few weeks of using this, I'd prefer this to not be enabled by default. My bad for suggesting that in the first place.

This reverts commit fc49b4a4ded376cd82b813dcb6d72fdc050b7bed.

Diff

 1diff --git a/lib/completion.zsh b/lib/completion.zsh
 2index 2a457402a90d3198fb6233c1ea50d4c862b6b1c9..b3cc918229ce3cdf60f6434cda1ecf1e7a385a77 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 [ "$DISABLE_COMPLETION_WAITING_DOTS" != "true" ]; then
10+if [ "x$COMPLETION_WAITING_DOTS" = "xtrue" ]; 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 4de1fa4e93eef740d94c3b31b2f87d0cec4648da..1ab40aba6d39eca4648267dfc25420b355c10b5b 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 disable red dots displayed while waiting for completion
23-# DISABLE_COMPLETION_WAITING_DOTS="true"
24+# Uncomment following line if you want red dots to be displayed while waiting for completion
25+# 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)