mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-05 20:57:46 +08:00
Update aws.plugin.zsh
This commit is contained in:
parent
a7bd198b35
commit
5f2a6935f7
@ -46,6 +46,7 @@ function asp() {
|
|||||||
if [[ -z "${AWS_PROFILE_REGION}" ]]; then
|
if [[ -z "${AWS_PROFILE_REGION}" ]]; then
|
||||||
if [[ -z "${available_profiles[(r)default]}" ]]; then
|
if [[ -z "${available_profiles[(r)default]}" ]]; then
|
||||||
echo "region defaulting to us-east-1"
|
echo "region defaulting to us-east-1"
|
||||||
|
AWS_PROFILE_REGION=us-east-1
|
||||||
else
|
else
|
||||||
export AWS_PROFILE_REGION=$(aws configure get region --profile default)
|
export AWS_PROFILE_REGION=$(aws configure get region --profile default)
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user