mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Add completion plugin for s2i.
This commit is contained in:
parent
69f37800be
commit
b8a8a4170a
2 changed files with 14 additions and 0 deletions
9
plugins/s2i/README.md
Normal file
9
plugins/s2i/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# s2i
|
||||
|
||||
This plugin provides completion for [s2i](https://github.com/openshift/source-to-image).
|
||||
|
||||
To use it, add `s2i` to the plugins array in your .zshrc file.
|
||||
|
||||
```
|
||||
plugins=(... s2i)
|
||||
```
|
5
plugins/s2i/s2i.plugin.zsh
Normal file
5
plugins/s2i/s2i.plugin.zsh
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Autocompletion plugin for [s2i](https://github.com/openshift/source-to-image).
|
||||
|
||||
if [ $commands[s2i] ]; then
|
||||
source <(s2i completion zsh)
|
||||
fi
|
Loading…
Reference in a new issue