1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-15 18:30:08 +00:00

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'