# aws.plugin.sh # Author: Michael Anckaert # Based on oh-my-zsh AWS plugin # # command 'agp' returns the selected AWS profile (aws get profile) # command 'asp' sets the AWS profile to use (aws set profile) # export AWS_HOME=~/.aws function agp { echo $AWS_DEFAULT_PROFILE } function asp { local rprompt=${RPROMPT//} export AWS_DEFAULT_PROFILE=$1 export AWS_PROFILE=$1 }