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

Added plugin for tekton ci/cd CLI

This commit is contained in:
Jorge Francisco Varela Gutiérrez 2022-08-23 14:02:15 -05:00
parent 6d48309cd7
commit 0b67d08f13
2 changed files with 24 additions and 0 deletions

17
plugins/tkn/README.md Normal file
View file

@ -0,0 +1,17 @@
# Tekton CLI
This plugin provides autocompletion for [tkn](https://tekton.dev/docs/cli/). A command for easier interaction with Tekton CI/CD components.
To use it, add `tkn` to the plugins array of your zshrc file:
```bash
plugins=(... tkn)
```
## See Also
+ [tektoncd/cli](https://github.com/tektoncd/cli)
## Contributors
+ [jvarela01](https://github.com/jvarela01) - Plugin Author

View file

@ -0,0 +1,7 @@
# Autocompletion for tkn, the command line interface for Tekton Cloud Natice CI/CD (https://tekton.dev/)
# Author: https://github.com/jvarela01
if [ $commands[tkn] ]; then
source <(tkn completion zsh)
compdef _tkn tkn
fi