diff options
author | Melvyn de Kort <m.de.kort@portbase.com> | 2019-10-16 13:48:04 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2019-10-16 17:18:56 +0300 |
commit | abf1e3b0af350affb3a09d5b1fdc6fda510f52a2 (patch) | |
tree | ab9f11f6be719e53e90d889a52e6da7b9628ca61 | |
parent | 9fdbd4a3e75d9dbec35be8c25175d6f0fdefa6b3 (diff) |
Also show the default profile when set
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index d1c5e9e4..5e80311a 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -935,7 +935,7 @@ prompt_anaconda() { # AWS Profile prompt_aws() { local aws_profile="${AWS_VAULT:-${AWSUME_PROFILE:-${AWS_PROFILE:-$AWS_DEFAULT_PROFILE}}}" - if [[ "$aws_profile" != (default|) ]]; then + if [[ ! -z "$aws_profile" ]]; then _p9k_prompt_segment "$0" red white 'AWS_ICON' 0 '' "${aws_profile//\%/%%}" fi } |