mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Update aws.plugin.zsh
This commit is contained in:
parent
5f2a6935f7
commit
80c3574f6c
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +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
|
export 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…
Add table
Add a link
Reference in a new issue