mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
| .. | ||
| pulumi.plugin.zsh | ||
| README.md | ||
Pulumi Oh My Zsh Plugin
This is an Oh My Zsh plugin for the Pulumi CLI, providing:
- 🚀 Short, intuitive aliases for common Pulumi commands
- 🎯 Auto-completion support for Pulumi
- 🔥 A fuzzy stack selector using
fzf
📦 Installation
Option 1: Manual Installation
- Clone this repository into your Oh My Zsh custom plugins folder:
git clone https://github.com/YOUR_GITHUB_USERNAME/zsh-pulumi ~/.oh-my-zsh/custom/plugins/pulumi - Enable the plugin in
~/.zshrcby addingpulumito your plugins list:plugins=(... pulumi) - Restart your shell or run:
source ~/.zshrc
Option 2: Submit to Oh My Zsh
(Once merged into Oh My Zsh, users can just add pulumi to their .zshrc plugins list.)
⚡ Short Aliases
| Alias | Command | Description |
|---|---|---|
p |
pulumi |
Shortcut for Pulumi CLI |
pu |
pulumi up |
Deploy infrastructure |
pp |
pulumi preview |
Show planned changes |
pd |
pulumi destroy |
Destroy all resources |
pr |
pulumi refresh |
Refresh state from cloud |
ps |
pulumi stack |
Show stack details |
pss |
pulumi stack select |
Switch stack |
psh |
pulumi stack history |
Show stack history |
psi |
pulumi stack init |
Initialize a new stack |
psl |
pulumi stack ls |
List available stacks |
pso |
pulumi stack output |
Show stack outputs |
plog |
pulumi logs -f |
Tail Pulumi logs in real-time |
pcs |
pulumi config set |
Set Pulumi configuration |
🎯 Autocompletion
If pulumi gen-completion zsh is available, this plugin automatically enables Pulumi auto-completion.
🛠️ Contribution
Feel free to open an issue or PR for improvements! 🚀