Skip to content

Instantly share code, notes, and snippets.

@GeneralD
Last active November 28, 2017 05:21
Show Gist options
  • Save GeneralD/b3b7c2290db941ad5b2a5e3eb50e1e9e to your computer and use it in GitHub Desktop.
Save GeneralD/b3b7c2290db941ad5b2a5e3eb50e1e9e to your computer and use it in GitHub Desktop.
Zsh shows waiting dots when completing
WAITING_DOTS=${WAITING_DOTS:-"..."}
expand-or-complete-with-dots() {
echo -n $WAITING_DOTS
zle expand-or-complete
zle redisplay
}
zle -N expand-or-complete-with-dots
bindkey "^I" expand-or-complete-with-dots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment