Merge pull request #622 from billmoritz/aws_profile_support

Add support for AWS Tools Profile.
pull/624/head
Nils Winkler 2015-12-07 10:40:12 +01:00
commit bab76a58b1
1 changed files with 11 additions and 3 deletions

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
}