This script displays information about the Azure current Subscription and tenant.
This script heavily inspired by zsh-kubectl-prompt
-
Clone this repository into
$HOME/.oh-my-zsh/custom/plugins
. -
Add plugin name to
.zshrc
-
Add following lines into
.zshrc
autoload -U colors; colors RPROMPT='%{$fg[blue]%}($ZSH_SUBSCRIPTION_PROMPT)%{$reset_color%}'
-
Reload terminal or update
.zshrc
source ~/.zshrc
This script is released under the MIT License.