1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-25 16:31:57 +00:00
Well, that's embarassing...
This commit is contained in:
elProxy 2021-08-19 10:16:12 +02:00 committed by GitHub
parent 277ff8b414
commit 379b97e4e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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