jedelson-pagerduty / pagerduty-omz-plugin

Oh My Zsh Plugin for PD CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oh My Zsh Plugin for PagerDuty CLI

Automatically installs autocompletion for https://github.com/martindstone/pagerduty-cli.

Installation

  1. 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
  1. Activate the plugin in ~/.zshrc:
plugins=( [plugins...] pagerduty)
  1. Run omz reload

Alternate - Using chezmoi

  1. 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.

  1. Run chezmoi apply

  2. Activate the plugin in ~/.zshrc:

plugins=( [plugins...] pagerduty)
  1. Run omz reload

About

Oh My Zsh Plugin for PD CLI

License:Apache License 2.0


Languages

Language:Shell 100.0%