Skip to content

Commit

Permalink
feat: add aws sso login shothand
Browse files Browse the repository at this point in the history
  • Loading branch information
ndxbn committed Nov 8, 2024
1 parent 2ee0fea commit 7f24f5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zsh/.zsh_plugin.d/alias.plugin.zsh
Original file line number Diff line number Diff line change
@@ -18,6 +18,9 @@ alias venv='python3 -m venv venv && source ./venv/bin/activate'
## you can get from pP that which venv is activated.
alias pP='echo ${PATH} | sed -e "s/:/\n/g"'

# AWS
alias awslogin='for prof in $(aws configure list-profiles | xargs echo); do aws sso login --profile ${prof}; done'

# GitHub tools
## lsgh
alias ghls="gh repo list --json nameWithOwner --jq '.[].nameWithOwner' --no-archived"

0 comments on commit 7f24f5b

Please sign in to comment.