mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
feat(aws): Adds the login option for AWS SSO (#9921)
This commit is contained in:
parent
58478d0888
commit
bf303965e6
2 changed files with 5 additions and 0 deletions
|
|
@ -21,6 +21,10 @@ function asp() {
|
|||
export AWS_DEFAULT_PROFILE=$1
|
||||
export AWS_PROFILE=$1
|
||||
export AWS_EB_PROFILE=$1
|
||||
|
||||
if [[ "$2" == "login" ]]; then
|
||||
aws sso login
|
||||
fi
|
||||
}
|
||||
|
||||
# AWS profile switch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue