mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 00:10:08 +00:00
Add support for awsume
This commit is contained in:
committed by
Roman Perepelitsa
parent
f21a2e3c46
commit
9fdbd4a3e7
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user