mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01:00
Add plugin for kompose
This commit is contained in:
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
|
||||||
Reference in New Issue
Block a user