Created
June 15, 2020 09:30
-
-
Save jpohjolainen/12867f50945f4d09f75393157f13a903 to your computer and use it in GitHub Desktop.
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
azaccounts() { | |
OIFS=$IFS | |
IFS=$'\n' | |
reply=($(az account list |jq -r '.[].name')) | |
IFS=$OIFS | |
} | |
compctl -x 'c[-2,set]c[-1,-s]' -S '' -K azaccounts -- az |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment