Add support for awsume

This commit is contained in:
Melvyn de Kort 2019-10-16 12:03:22 +02:00
parent fc404a2d8a
commit b7b21b52f1
1 changed files with 1 additions and 1 deletions

View File

@ -934,7 +934,7 @@ prompt_anaconda() {
################################################################
# AWS Profile
prompt_aws() {
local aws_profile="${AWS_VAULT:-${AWS_PROFILE:-$AWS_DEFAULT_PROFILE}}"
local aws_profile="${AWS_VAULT:-${AWSUME_PROFILE:-${AWS_PROFILE:-$AWS_DEFAULT_PROFILE}}}"
if [[ "$aws_profile" != (default|) ]]; then
_p9k_prompt_segment "$0" red white 'AWS_ICON' 0 '' "${aws_profile//\%/%%}"
fi