mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-01-23 18:56:33 +01:00
Add completion plugin for s2i.
This commit is contained in:
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
|
||||||
Reference in New Issue
Block a user