1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 14:20:08 +00:00

feat(linkerd): add plugin for Linkerd CLI

This commit is contained in:
vasayxtx 2022-06-24 15:30:54 +03:00
parent 4c82a2eedf
commit 8d8d2d77d3
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# Linkerd plugin
This plugin adds completion for linkerd command-line tool that is used for interacting with the [Linkerd](https://linkerd.io) service mesh.
To use it, add `linkerd` to the plugins array in your zshrc file:
```zsh
plugins=(... linkerd)
```

View file

@ -0,0 +1,4 @@
if (( $+commands[linkerd] )); then
source <(linkerd completion zsh)
compdef _linkerd linkerd
fi