mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-10 17:30:41 +01:00
Added plugin for tekton ci/cd CLI
This commit is contained in:
17
plugins/tkn/README.md
Normal file
17
plugins/tkn/README.md
Normal 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
|
||||||
7
plugins/tkn/tkn.plugin.zsh
Normal file
7
plugins/tkn/tkn.plugin.zsh
Normal 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
|
||||||
Reference in New Issue
Block a user