feat: move configuration files inside home folder
This commit is contained in:
9
home/.config/zsh/ohmyzsh/plugins/minikube/README.md
Normal file
9
home/.config/zsh/ohmyzsh/plugins/minikube/README.md
Normal file
@ -0,0 +1,9 @@
|
||||
# minikube
|
||||
|
||||
This plugin provides completion for [minikube](https://github.com/kubernetes/minikube).
|
||||
|
||||
To use it, add `minikube` to the plugins array in your zshrc file.
|
||||
|
||||
```
|
||||
plugins=(... minikube)
|
||||
```
|
@ -0,0 +1,13 @@
|
||||
if (( ! $+commands[minikube] )); then
|
||||
return
|
||||
fi
|
||||
|
||||
# If the completion file doesn't exist yet, we need to autoload it and
|
||||
# bind it to `minikube`. Otherwise, compinit will have already done that.
|
||||
if [[ ! -f "$ZSH_CACHE_DIR/completions/_minikube" ]]; then
|
||||
typeset -g -A _comps
|
||||
autoload -Uz _minikube
|
||||
_comps[minikube]=_minikube
|
||||
fi
|
||||
|
||||
minikube completion zsh >| "$ZSH_CACHE_DIR/completions/_minikube" &|
|
Reference in New Issue
Block a user