mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-29 08:14:42 +00:00
Added the "visual identifier" concept to the aws segment.
This commit is contained in:
@@ -251,7 +251,7 @@ prompt_aws() {
|
|||||||
local aws_profile="$AWS_DEFAULT_PROFILE"
|
local aws_profile="$AWS_DEFAULT_PROFILE"
|
||||||
if [[ -n "$aws_profile" ]];
|
if [[ -n "$aws_profile" ]];
|
||||||
then
|
then
|
||||||
"$1_prompt_segment" "$0" red white "$(print_icon 'AWS_ICON') $aws_profile"
|
"$1_prompt_segment" "$0" red white "$aws_profile" 'AWS_ICON'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user