lib: load bash completion functions automatically

Fixes #8614
This commit is contained in:
Marc Cornellà 2020-02-11 20:16:43 +01:00
parent 561e7169ac
commit 17428f3c9a

View file

@ -71,3 +71,6 @@ if [[ $COMPLETION_WAITING_DOTS = true ]]; then
zle -N expand-or-complete-with-dots zle -N expand-or-complete-with-dots
bindkey "^I" expand-or-complete-with-dots bindkey "^I" expand-or-complete-with-dots
fi fi
# automatically load bash completion functions
autoload -Uz bashcompinit && bashcompinit