diff options
author | Marc Cornellà <marc.cornella@live.com> | 2020-08-02 20:48:53 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2020-08-02 20:49:26 +0200 |
commit | f6bc949c05fd18ee557a89c92f82ff556200707d (patch) | |
tree | 5b3bfce5e339a46e9cf2e47e5d3c9f94f9a69ce8 /lib/completion.zsh | |
parent | 4ab273e19ad1768163e662831b3418a2fc9b6eee (diff) | |
download | zsh-f6bc949c05fd18ee557a89c92f82ff556200707d.tar.gz zsh-f6bc949c05fd18ee557a89c92f82ff556200707d.tar.bz2 zsh-f6bc949c05fd18ee557a89c92f82ff556200707d.zip |
lib: substitute COMPLETION_WAITING_DOTS for ellipsis
Closes #8342
Diffstat (limited to 'lib/completion.zsh')
-rw-r--r-- | lib/completion.zsh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh index 43927a277..47a4ed60f 100644 --- a/lib/completion.zsh +++ b/lib/completion.zsh @@ -60,11 +60,7 @@ zstyle '*' single-ignored show if [[ $COMPLETION_WAITING_DOTS = true ]]; then expand-or-complete-with-dots() { - # toggle line-wrapping off and back on again - [[ -n "$terminfo[rmam]" && -n "$terminfo[smam]" ]] && echoti rmam - print -Pn "%{%F{red}......%f%}" - [[ -n "$terminfo[rmam]" && -n "$terminfo[smam]" ]] && echoti smam - + print -Pn "%F{red}…%f" zle expand-or-complete zle redisplay } |