Revert "Remove redundant bashcompinit calls"

This reverts commit f776af2a1f.

Fixes #9314
This commit is contained in:
Marc Cornellà 2020-10-05 17:20:02 +02:00
commit 6ebf27b8d3
5 changed files with 10 additions and 2 deletions

View file

@ -64,6 +64,7 @@ fi
# AWS CLI v2 comes with its own autocompletion. Check if that is there, otherwise fall back
if command -v aws_completer &> /dev/null; then
autoload -Uz bashcompinit && bashcompinit
complete -C aws_completer aws
else
function _awscli-homebrew-installed() {