Skip to content

Instantly share code, notes, and snippets.

@crissupb
Created April 28, 2020 19:24
Show Gist options
  • Save crissupb/5c4c627e4d95456335d9b031fd46e7ea to your computer and use it in GitHub Desktop.
Save crissupb/5c4c627e4d95456335d9b031fd46e7ea to your computer and use it in GitHub Desktop.
Enable AWS CLI autocompletion on Mac and zsh
# the script aws_completer needs to be in your path
# this works with v2 of the aws cli installed via brew
autoload compinit && compinit
autoload bashcompinit && bashcompinit
complete -C '/usr/local/bin/aws_completer' aws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment