mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
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
|
# 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:
|
To use it, add `helm` to the plugins array in your zshrc file:
|
||||||
|
|
||||||
```zsh
|
```zsh
|
||||||
plugins=(... helm)
|
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"
|
source "$ZSH_CACHE_DIR/completions/_helm"
|
||||||
helm completion zsh | tee "$ZSH_CACHE_DIR/completions/_helm" >/dev/null &|
|
helm completion zsh | tee "$ZSH_CACHE_DIR/completions/_helm" >/dev/null &|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
alias h='helm'
|
||||||
|
alias hin='helm install'
|
||||||
|
alias hse='helm search'
|
||||||
|
alias hup='helm upgrade'
|
||||||
|
Loading…
Reference in New Issue
Block a user