Last active
November 28, 2017 05:21
-
-
Save GeneralD/b3b7c2290db941ad5b2a5e3eb50e1e9e to your computer and use it in GitHub Desktop.
Zsh shows waiting dots when completing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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