Commit f6bc949c authored by Marc Cornellà's avatar Marc Cornellà
Browse files

lib: substitute COMPLETION_WAITING_DOTS for ellipsis

Closes #8342
parent 4ab273e1
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment