diff --git a/plugins/tkn/README.md b/plugins/tkn/README.md new file mode 100644 index 000000000..ace41b54a --- /dev/null +++ b/plugins/tkn/README.md @@ -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 \ No newline at end of file diff --git a/plugins/tkn/tkn.plugin.zsh b/plugins/tkn/tkn.plugin.zsh new file mode 100644 index 000000000..5f359a947 --- /dev/null +++ b/plugins/tkn/tkn.plugin.zsh @@ -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 \ No newline at end of file