diff --git a/themes/base.theme.bash b/themes/base.theme.bash index d78baa6adf..a6f9dc2322 100644 --- a/themes/base.theme.bash +++ b/themes/base.theme.bash @@ -590,7 +590,9 @@ if ! _command_exists battery_charge; then fi function aws_profile() { - if [[ -n "${AWS_DEFAULT_PROFILE:-}" ]]; then + if [[ -n "${AWS_PROFILE:-}" ]]; then + echo -ne "${AWS_PROFILE}" + elif [[ -n "${AWS_DEFAULT_PROFILE:-}" ]]; then echo -ne "${AWS_DEFAULT_PROFILE}" else echo -ne "default"