TKN-COMPLETION(1)
π NAME π
okay bestie, welcome to the TKN-COMPLETION(1) manual page β this is all about tkn-completion, the command that prints shell completion scripts. it prints the code, it does not magically install the vibe for you, iykyk π
πΈ SYNOPSIS πΈ
tkn completion [SHELL]
π¦ DESCRIPTION π¦
so this command prints shell completion code, and that code must be evaluated to actually provide interactive completion. no evaluation, no completion, periodt β¨
Supported Shells:
bashzshfishpowershell
π OPTIONS π
-h,--help[=false]β help for completion. yes,[=false]is literally part of the option spelling here, don't @ me π«Ά
π EXAMPLE π
here's how to load completions, with the commands copied exactly so you can just vibe:
To load completions:
Bash:
$ source <(tkn completion bash)
To load completions for each session, execute once:
Linux:
$ tkn completion bash > /etc/bash_completion.d/tkn
MacOS:
$ tkn completion bash > /usr/local/etc/bash_completion.d/tkn
Zsh:
$ source <(tkn completion zsh)
To load completions for every sessions, you can execute the following once:
$ echo "autoload -U compinit; compinit" >> /.zshrc
and add the completion to your fpath (may differ from the first one in the fpath array):
$ tkn completion zsh > "${fpath[1]}/_tkn"
You will need to start a new shell for this setup to take effect.
Fish:
$ tkn completion fish | source
To load completions for each session, execute once:
$ tkn completion fish > /.config/fish/completions/tkn.fish
π SEE ALSO π
tkn(1)β the main character, obviously π
k bye bestie β this page is auto generated by spf13/cobra, and the footer just says TKN-COMPLETION(1) with no date listed, so that's the whole sign-off. mwah ππ
π¦ where this page comes from
- nixos 26.05: tektoncd-cli 0.45.0
- nixpkgs unstable: tektoncd-cli 0.46.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms