Add completion plugin for s2i.

This commit is contained in:
Pavel Macík 2019-06-12 13:27:05 +02:00
parent 69f37800be
commit b8a8a4170a
No known key found for this signature in database
GPG key ID: 31A213DE4FA174A3
2 changed files with 14 additions and 0 deletions

9
plugins/s2i/README.md Normal file
View 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)
```

View 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