Created
April 10, 2019 10:26
-
-
Save zepptron/498718b79779f96447e06b886649e7dd to your computer and use it in GitHub Desktop.
azure switch subscriptions
This file contains hidden or 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
azure-subscription () { | |
local get_subs=$(az account list | jq ".[].name" | sed 's/"//g' | fzf) | |
az account set --subscription ${get_subs} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment