|
|
@ -1168,8 +1168,8 @@ prompt_aws() {
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
if [[ -n ${AWS_REGION:-AWS_DEFAULT_REGION} ]]; then
|
|
|
|
if [[ -n ${AWS_REGION:-$AWS_DEFAULT_REGION} ]]; then
|
|
|
|
typeset -g P9K_AWS_REGION=${AWS_REGION:-AWS_DEFAULT_REGION}
|
|
|
|
typeset -g P9K_AWS_REGION=${AWS_REGION:-$AWS_DEFAULT_REGION}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
local cfg=${AWS_CONFIG_FILE:-~/.aws/config}
|
|
|
|
local cfg=${AWS_CONFIG_FILE:-~/.aws/config}
|
|
|
|
if ! _p9k_cache_stat_get $0 $cfg; then
|
|
|
|
if ! _p9k_cache_stat_get $0 $cfg; then
|
|
|
|