mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Add plugin for kompose
This commit is contained in:
parent
3a6bf6bd26
commit
766cff650c
2 changed files with 15 additions and 0 deletions
12
plugins/kompose/README.md
Normal file
12
plugins/kompose/README.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# kompose
|
||||
|
||||
This plugin provides completion for [kompose](https://github.com/kubernetes/kompose),
|
||||
to migrate from docker compose to Kubernetes resource definitions.
|
||||
|
||||
To use it, add `kompose` to the plugins array in your zshrc file.
|
||||
|
||||
```
|
||||
plugins=(... kompose)
|
||||
```
|
||||
|
||||
**Author:** [@kevinkirkup](https://github.com/kevinkirkup)
|
3
plugins/kompose/kompose.plugin.zsh
Normal file
3
plugins/kompose/kompose.plugin.zsh
Normal file
|
@ -0,0 +1,3 @@
|
|||
if [ $commands[kompose] ]; then
|
||||
source <(kompose completion zsh)
|
||||
fi
|
Loading…
Reference in a new issue