mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Make waiting dots themeable
This commit is contained in:
parent
397c085a19
commit
a2d106daec
1 changed files with 3 additions and 1 deletions
|
|
@ -62,8 +62,10 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
|
|||
zstyle '*' single-ignored show
|
||||
|
||||
if [ "x$COMPLETION_WAITING_DOTS" = "xtrue" ]; then
|
||||
ZSH_THEME_COMPLETION_WAITING_DOTS="\e[31m......\e[0m"
|
||||
|
||||
expand-or-complete-with-dots() {
|
||||
echo -n "\e[31m......\e[0m"
|
||||
echo -n "$ZSH_THEME_COMPLETION_WAITING_DOTS"
|
||||
zle expand-or-complete
|
||||
zle redisplay
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue