Add zsh/oh my zsh/w10k
This commit is contained in:
13
zsh/.oh-my-zsh/plugins/oc/README.md
Normal file
13
zsh/.oh-my-zsh/plugins/oc/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
# OC - OpenShift CLI
|
||||
|
||||
This plugin provides autocompletion for [OC](https://docs.openshift.com/container-platform/3.7/cli_reference/index.html) commands, building, managing and updating operations.
|
||||
|
||||
To use it, add `oc` to the plugins array of your zshrc file:
|
||||
|
||||
```bash
|
||||
plugins=(... oc)
|
||||
```
|
||||
|
||||
## Contributors
|
||||
|
||||
+ [kevinkirkup](https://github.com/kevinkirkup) - Plugin Author
|
7
zsh/.oh-my-zsh/plugins/oc/oc.plugin.zsh
Normal file
7
zsh/.oh-my-zsh/plugins/oc/oc.plugin.zsh
Normal file
@ -0,0 +1,7 @@
|
||||
# Autocompletion for oc, the command line interface for OpenShift
|
||||
#
|
||||
# Author: https://github.com/kevinkirkup
|
||||
|
||||
if [ $commands[oc] ]; then
|
||||
source <(oc completion zsh)
|
||||
fi
|
Reference in New Issue
Block a user