https://github.com/dmakeienko/azure-subscription-prompt
Azure Subscription prompt plugin for zsh
https://github.com/dmakeienko/azure-subscription-prompt
azure devops devops-tools oh-my-zsh-plugin zsh
Last synced: 3 months ago
JSON representation
Azure Subscription prompt plugin for zsh
- Host: GitHub
- URL: https://github.com/dmakeienko/azure-subscription-prompt
- Owner: dmakeienko
- License: mit
- Created: 2021-09-24T14:36:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-26T20:29:57.000Z (about 4 years ago)
- Last Synced: 2025-04-13T05:12:53.727Z (6 months ago)
- Topics: azure, devops, devops-tools, oh-my-zsh-plugin, zsh
- Language: Shell
- Homepage:
- Size: 26.4 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure Subscription Prompt
This script displays information about the Azure current Subscription and tenant.
This script heavily inspired by [zsh-kubectl-prompt](https://github.com/superbrothers/zsh-kubectl-prompt)

## Usage
1. Clone this repository into `$HOME/.oh-my-zsh/custom/plugins`.
2. Add plugin name to `.zshrc`
3. Add following lines into `.zshrc````bash
autoload -U colors; colors
RPROMPT='%{$fg[blue]%}($ZSH_SUBSCRIPTION_PROMPT)%{$reset_color%}'
```
4. Reload terminal or update `.zshrc````bash
source ~/.zshrc
```## License
This script is released under the MIT License.