mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
Add support for both AWS_PROFILE and AWS_DEFAULT_PROFILE
This commit is contained in:
parent
948e7f5bff
commit
82bc300c62
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ prompt_anaconda() {
|
|||
|
||||
# AWS Profile
|
||||
prompt_aws() {
|
||||
local aws_profile="$AWS_DEFAULT_PROFILE"
|
||||
local aws_profile="${AWS_PROFILE:-$AWS_DEFAULT_PROFILE}"
|
||||
|
||||
if [[ -n "$aws_profile" ]]; then
|
||||
"$1_prompt_segment" "$0" "$2" red white "$aws_profile" 'AWS_ICON'
|
||||
|
|
Loading…
Reference in a new issue