Add support for AWS Tools Profile.

http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
This commit is contained in:
Bill Moritz
2015-12-05 11:52:58 -05:00
parent 725e1b2f76
commit b967674e6c

View File

@@ -352,3 +352,11 @@ if [ ! -e $BASH_IT/plugins/enabled/battery.plugin.bash ]; then
echo -n echo -n
} }
fi fi
function aws_profile {
if [[ $AWS_DEFAULT_PROFILE ]]; then
echo -e "${AWS_DEFAULT_PROFILE}"
else
echo -e "default"
fi
}