Skip to content

Instantly share code, notes, and snippets.

@aheld
Created September 8, 2023 13:47
Show Gist options
  • Save aheld/55fe1ce50668ffb3e453279669fe7546 to your computer and use it in GitHub Desktop.
Save aheld/55fe1ce50668ffb3e453279669fe7546 to your computer and use it in GitHub Desktop.
Azure subscription selector using fuzzy finder fzf
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