mirror of
https://github.com/romkatv/powerlevel10k
synced 2025-03-03 18:27:54 +00:00
cleanup
This commit is contained in:
parent
abf1e3b0af
commit
94de8519b4
@ -935,7 +935,7 @@ prompt_anaconda() {
|
||||
# AWS Profile
|
||||
prompt_aws() {
|
||||
local aws_profile="${AWS_VAULT:-${AWSUME_PROFILE:-${AWS_PROFILE:-$AWS_DEFAULT_PROFILE}}}"
|
||||
if [[ ! -z "$aws_profile" ]]; then
|
||||
if [[ -n "$aws_profile" ]]; then
|
||||
_p9k_prompt_segment "$0" red white 'AWS_ICON' 0 '' "${aws_profile//\%/%%}"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user