Aws-vault: AWS command completion with aws-vault

Created on 7 Mar 2017  路  6Comments  路  Source: 99designs/aws-vault

Because I am shit at typing, I use the AWS CLI command completion a lot, which I miss with aws-vault. I see an issue on bash completion which looks like it has been fixed. Is there a workaround I am not seeing to get the AWS CLI command completion working?

Most helpful comment

Ah yes I've run into this before. In my .bash_profile I have

complete -C aws_completer aws
complete -C aws_completer sudo
complete -C aws_completer aws-vault

Does that work for you?

All 6 comments

Ah yes I've run into this before. In my .bash_profile I have

complete -C aws_completer aws
complete -C aws_completer sudo
complete -C aws_completer aws-vault

Does that work for you?

Try aws-shell
It works fine with aws-vault

Good example of a bash auto complete over there. I haven't given it much focus because I use zsh.

@mtibben 's solution worked for me. I am using zsh and added the statements to aws_zsh_completer.sh. I now have autocomplete.

@mtibben's solution (thanks!) only works partially, because I use aws-vault with both aws-cli and awless. I can only make it work with either one or another.

Was this page helpful?
0 / 5 - 0 ratings