mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 14:30:12 +08:00
feat(operator-sdk): add plugin for operator-sdk (#10423)
This commit is contained in:
parent
481b912fd7
commit
1e263e245d
11
plugins/operator-sdk/README.md
Normal file
11
plugins/operator-sdk/README.md
Normal file
@ -0,0 +1,11 @@
|
||||
# Operator SDK
|
||||
|
||||
[Operator SDK](https://sdk.operatorframework.io/) is a component of the Operator Framework, an open source toolkit to manage Kubernetes native applications, called Operators, in an effective, automated, and scalable way.
|
||||
|
||||
To use it, add `operator-sdk` to the plugins array of your zshrc file:
|
||||
|
||||
```sh
|
||||
plugins=(... operator-sdk)
|
||||
```
|
||||
|
||||
|
4
plugins/operator-sdk/operator-sdk.plugin.zsh
Normal file
4
plugins/operator-sdk/operator-sdk.plugin.zsh
Normal file
@ -0,0 +1,4 @@
|
||||
if [ $commands[operator-sdk] ]; then
|
||||
source <(operator-sdk completion zsh)
|
||||
compdef _operator-sdk operator-sdk
|
||||
fi
|
Loading…
Reference in New Issue
Block a user