aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorMelvyn de Kort <m.de.kort@portbase.com>2019-10-16 13:03:22 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2019-10-16 17:18:56 +0300
commit9fdbd4a3e75d9dbec35be8c25175d6f0fdefa6b3 (patch)
treea2c8daef276209b13cdaa985c5c9ab35a2873e48 /internal/p10k.zsh
parentf21a2e3c46fc95fd2ccd0ecfb34da23ed5dc5d7a (diff)
Add support for awsume
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 7f731888..d1c5e9e4 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -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