Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 954 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 954 Bytes

AWSW: AWS Switch

Maintenance made-with-Go

Interactively switch between AWS Profiles

image

Setup

Linux

curl -O https://raw.githubusercontent.com/bharathalleni/awsw/main/_awswitch
curl -O https://raw.githubusercontent.com/bharathalleni/awsw/main/_awsw
chmod +x ./_awsw*
sudo mv ./_awsw* /usr/local/bin/

Add the following line to your .bashrc or .zshrc file

alias awsw="source _awsw" && source _awsw reset

Or you can just run this in your terminal.

Linux:

echo 'alias awsw="source _awsw" && source _awsw reset' >> ~/.bashrc

Mac:

echo 'alias awsw="source _awsw" && source _awsw reset' >> ~/.zshrc

Usage

awsw