Select and set your Azure account

This commit is contained in:
Mike Eller 2023-08-28 09:39:19 +01:00 committed by GitHub
parent a63ea30136
commit c73fba945a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -471,6 +471,14 @@ List all PRs for the current GitHub repository and checkout the chosen PR (using
gh pr list | cut -f1,2 | gum choose | cut -f1 | xargs gh pr checkout
```
#### Choose which azure account to use
Choose which Azure Account you want to use.
```bash
selection=$(az account list -o tsv --query "[].name" | gum choose) && az account set --name $selection
```
#### Pick command from shell history
Pick a previously executed command from your shell history to execute, copy,