feat(helm): add aliases (#11361)

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
Mohammad Parvin 2022-12-02 16:19:00 +03:30 committed by GitHub
parent fc44c49cca
commit 7ea8a93bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View File

@ -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 |

View File

@ -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'