Enable red dots during completion by default

This commit is contained in:
Loïc Yhuel 2011-07-28 19:52:35 +02:00
parent 0848acfb25
commit fc49b4a4de
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
# ... unless we really want to. # ... unless we really want to.
zstyle '*' single-ignored show zstyle '*' single-ignored show
if [ "x$COMPLETION_WAITING_DOTS" = "xtrue" ]; then if [ "$DISABLE_COMPLETION_WAITING_DOTS" != "true" ]; then
expand-or-complete-with-dots() { expand-or-complete-with-dots() {
echo -n "\e[31m......\e[0m" echo -n "\e[31m......\e[0m"
zle expand-or-complete zle expand-or-complete

View File

@ -19,8 +19,8 @@ ZSH_THEME="robbyrussell"
# Uncomment following line if you want to disable autosetting terminal title. # Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true" # DISABLE_AUTO_TITLE="true"
# Uncomment following line if you want red dots to be displayed while waiting for completion # Uncomment following line if you want disable red dots displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true" # DISABLE_COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)