Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
0848acfb
Commit
0848acfb
authored
Jul 23, 2011
by
Loïc Yhuel
Browse files
Display red dots during completion process (disabled by default)
parent
3350c229
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/completion.zsh
View file @
0848acfb
...
@@ -59,3 +59,12 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
...
@@ -59,3 +59,12 @@ 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
expand-or-complete-with-dots
()
{
echo
-n
"
\e
[31m......
\e
[0m"
zle expand-or-complete
zle redisplay
}
zle
-N
expand-or-complete-with-dots
bindkey
"^I"
expand-or-complete-with-dots
fi
templates/zshrc.zsh-template
View file @
0848acfb
...
@@ -19,6 +19,9 @@ ZSH_THEME="robbyrussell"
...
@@ -19,6 +19,9 @@ 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
# 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)
plugins=(git)
plugins=(git)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment