1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-17 19:30:10 +00:00

feat(operator-sdk): add plugin for operator-sdk (#10423)

This commit is contained in:
jxlwqq 2021-12-18 08:04:31 +08:00 committed by GitHub
parent 481b912fd7
commit 1e263e245d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View 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)
```

View file

@ -0,0 +1,4 @@
if [ $commands[operator-sdk] ]; then
source <(operator-sdk completion zsh)
compdef _operator-sdk operator-sdk
fi