As a developer, I want to have an autocomplete feature for aws cli. Luckily, I found https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-completion.html However, simply adding this 2 line in ~/.zshrc did not work for me autoload bashcompinit && bashcompinit
complete -C '/usr/local/bin/aws_completer' aws and I got this error complete:13: command not found: compdef I found out that I need to activate the completion system in zsh using