Awesome
Oh My Zsh Plugin for PagerDuty CLI
Automatically installs autocompletion for https://github.com/martindstone/pagerduty-cli.
Installation
- Clone this repository in oh-my-zsh's custom plugins directory:
git clone https://github.com/jedelson-pagerduty/pagerduty-omz-plugin.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/pagerduty
- Activate the plugin in
~/.zshrc
:
plugins=( [plugins...] pagerduty)
- Run
omz reload
Alternate - Using chezmoi
- Add this to
~/.local/share/chezmoi/.chezmoiexternal.toml
[".oh-my-zsh/custom/plugins/pagerduty"]
type = "archive"
url = "https://github.com/jedelson-pagerduty/pagerduty-omz-plugin/archive/main.tar.gz"
exact = true
stripComponents = 1
refreshPeriod = "168h"
If you use an alternate
ZSH_CUSTOM
location, specify that instead.
-
Run
chezmoi apply
-
Activate the plugin in
~/.zshrc
:
plugins=( [plugins...] pagerduty)
- Run
omz reload