Created
September 8, 2023 13:47
-
-
Save aheld/55fe1ce50668ffb3e453279669fe7546 to your computer and use it in GitHub Desktop.
Azure subscription selector using fuzzy finder fzf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
azsub() { | |
az account set --subscription $(az account list --all --query '[].[id, name]' --out tsv | fzf | awk '{print $1}') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment