Home

Awesome

aws2

This plugin provides completion support for version 2 of the awscli and a few utilities to manage AWS profiles and display them in the prompt.

To use it, add aws2 to the plugins array in your zshrc file.

plugins=(... aws2)

Installation

First, you'll need to install version 2 of the CLI tool onto your system. Please checkout the documentation for more information. Once you have the cli tools installed you can add the aws2 directory into your ohmyzsh plugin directory and the aws2_zsh_completer.sh into one of the binary directories that are specified within your ${PATH} environment variable.

Plugin commands

Plugin options

Theme

The plugin creates an aws2_prompt_info function that you can use in your theme, which displays the current $AWS_PROFILE. It uses two variables to control how that is shown:

Brew support

I'm a Linux user and don't have a clue how homebrew works or if any of this stuff is available for brew? For this reason I've had to remove the homebrew parts for now.

Thanks

Shout out to the original authon Marc Cornellà for providing such an awesome plugin.