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