# http://stackoverflow.com/a/844299 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