Add support for AWS Tools Profile.
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user