Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jedelson-pagerduty/pagerduty-omz-plugin
Oh My Zsh Plugin for PD CLI
https://github.com/jedelson-pagerduty/pagerduty-omz-plugin
Last synced: about 1 month ago
JSON representation
Oh My Zsh Plugin for PD CLI
- Host: GitHub
- URL: https://github.com/jedelson-pagerduty/pagerduty-omz-plugin
- Owner: jedelson-pagerduty
- License: apache-2.0
- Created: 2022-09-08T13:09:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2022-09-08T13:24:12.000Z (over 1 year ago)
- Last Synced: 2024-01-25T17:36:52.145Z (4 months ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - pagerduty - Adds completions for the pagerduty [cli]( https://github.com/martindstone/pagerduty-cli) (Completions / ZSH on Windows)
- fucking-awesome-zsh-plugins - pagerduty - Adds completions for the pagerduty [cli]( https://github.com/martindstone/pagerduty-cli) (Completions / ZSH on Windows)
README
# Oh My Zsh Plugin for PagerDuty CLI
Automatically installs autocompletion for [https://github.com/martindstone/pagerduty-cli](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
```2. Activate the plugin in `~/.zshrc`:
```
plugins=( [plugins...] pagerduty)
```
3. 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.
2. Run `chezmoi apply`
3. Activate the plugin in `~/.zshrc`:
```
plugins=( [plugins...] pagerduty)
```
4. Run `omz reload`