mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 14:20:08 +00:00
Add a completion plugin for minishift
This commit is contained in:
parent
27228d83fe
commit
2f82418080
2 changed files with 14 additions and 0 deletions
9
plugins/minishift/README.md
Normal file
9
plugins/minishift/README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# minishift
|
||||||
|
|
||||||
|
This plugin provides completion for [minishift](https://github.com/minishift/minishift/).
|
||||||
|
|
||||||
|
To use it, add `minishift` to the plugins array in your .zshrc file.
|
||||||
|
|
||||||
|
```
|
||||||
|
plugins=(... minishift)
|
||||||
|
```
|
5
plugins/minishift/minishift.plugin.zsh
Normal file
5
plugins/minishift/minishift.plugin.zsh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Autocompletion plugin for minishift.
|
||||||
|
|
||||||
|
if [ $commands[minishift] ]; then
|
||||||
|
source <(minishift completion zsh)
|
||||||
|
fi
|
Loading…
Reference in a new issue