mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
feat(kompost): Add plugin for kompose (#7729)
Co-authored-by: Kevin S Kirkup <kevin.kirkup@pureport.com>
This commit is contained in:
parent
2525dae661
commit
10b750af26
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…
Add table
Add a link
Reference in a new issue