diff options
author | elProxy <pierre@rossi.house> | 2021-08-19 11:16:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-19 11:16:12 +0300 |
commit | 379b97e4e71cf311ebe1dfa11b2e0432c678a43d (patch) | |
tree | caed72ea83a5e792938120fc6d4c0980883b4e3b /internal/p10k.zsh | |
parent | 277ff8b414a595902981b95199d0ffbc4498f808 (diff) |
Fix after #1544 (#1547)
Well, that's embarassing...
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index f4c032d7..85c7f93d 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -1168,8 +1168,8 @@ prompt_aws() { fi done - if [[ -n ${AWS_REGION:-AWS_DEFAULT_REGION} ]]; then - typeset -g P9K_AWS_REGION=${AWS_REGION:-AWS_DEFAULT_REGION} + if [[ -n ${AWS_REGION:-$AWS_DEFAULT_REGION} ]]; then + typeset -g P9K_AWS_REGION=${AWS_REGION:-$AWS_DEFAULT_REGION} else local cfg=${AWS_CONFIG_FILE:-~/.aws/config} if ! _p9k_cache_stat_get $0 $cfg; then |