summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2011-08-30 20:56:13 -0700
committerRobby Russell <robby@planetargon.com>2011-08-30 20:56:13 -0700
commit9d67d75b0ad62242e60db1bd6d22ae7ea252c7bc (patch)
tree7cfcb2eae0133254abedd5b0cffedbf41914ee01
parent9f46eafae0bed7df50a0004fca5d25539425ff85 (diff)
downloadzsh-9d67d75b0ad62242e60db1bd6d22ae7ea252c7bc.tar.gz
zsh-9d67d75b0ad62242e60db1bd6d22ae7ea252c7bc.tar.bz2
zsh-9d67d75b0ad62242e60db1bd6d22ae7ea252c7bc.zip
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.
-rw-r--r--lib/completion.zsh2
-rw-r--r--templates/zshrc.zsh-template4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh
index 2a457402a..b3cc91822 100644
--- a/lib/completion.zsh
+++ b/lib/completion.zsh
@@ -59,7 +59,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
# ... unless we really want to.
zstyle '*' single-ignored show
-if [ "$DISABLE_COMPLETION_WAITING_DOTS" != "true" ]; then
+if [ "x$COMPLETION_WAITING_DOTS" = "xtrue" ]; then
expand-or-complete-with-dots() {
echo -n "\e[31m......\e[0m"
zle expand-or-complete
diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template
index 4de1fa4e9..1ab40aba6 100644
--- a/templates/zshrc.zsh-template
+++ b/templates/zshrc.zsh-template
@@ -19,8 +19,8 @@ ZSH_THEME="robbyrussell"
# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"
-# Uncomment following line if you want disable red dots displayed while waiting for completion
-# DISABLE_COMPLETION_WAITING_DOTS="true"
+# Uncomment following line if you want red dots to be displayed while waiting for completion
+# COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)