feat(helm): add aliases (#11361)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
parent
fc44c49cca
commit
7ea8a93bb8
|
@ -1,9 +1,18 @@
|
|||
# Helm plugin
|
||||
|
||||
This plugin adds completion for [Helm](https://helm.sh/), the Kubernetes package manager.
|
||||
This plugin adds completion and aliases for [Helm](https://helm.sh/), the Kubernetes package manager.
|
||||
|
||||
To use it, add `helm` to the plugins array in your zshrc file:
|
||||
|
||||
```zsh
|
||||
plugins=(... helm)
|
||||
```
|
||||
|
||||
## Aliases
|
||||
|
||||
| Alias | Full command |
|
||||
| ----- | ------------ |
|
||||
| h | helm |
|
||||
| hin | helm install |
|
||||
| hse | helm search |
|
||||
| hup | helm upgrade |
|
||||
|
|
|
@ -11,3 +11,8 @@ else
|
|||
source "$ZSH_CACHE_DIR/completions/_helm"
|
||||
helm completion zsh | tee "$ZSH_CACHE_DIR/completions/_helm" >/dev/null &|
|
||||
fi
|
||||
|
||||
alias h='helm'
|
||||
alias hin='helm install'
|
||||
alias hse='helm search'
|
||||
alias hup='helm upgrade'
|
||||
|
|
Loading…
Reference in a new issue