Update aws.plugin.zsh

This commit is contained in:
Junaid Ali 2025-09-19 15:20:54 +01:00 committed by GitHub
commit 80c3574f6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,7 +46,7 @@ function asp() {
if [[ -z "${AWS_PROFILE_REGION}" ]]; then
if [[ -z "${available_profiles[(r)default]}" ]]; then
echo "region defaulting to us-east-1"
AWS_PROFILE_REGION=us-east-1
export AWS_PROFILE_REGION=us-east-1
else
export AWS_PROFILE_REGION=$(aws configure get region --profile default)
fi