Completion

Tanka supports CLI completion for bash, zsh and fish.

1
2
3
4
5
# Install
$ tk --install-completion

# Uninstall
$ tk --uninstall-completion

As tanka is its own completion handler, it needs to hook into your shell's configuration file (.bashrc, etc).

Info

When using other shells than bash, Tanka relies on a Bash compatibility mode. It enables this automatically when installing, but please make sure no other completion (e.g. OhMyZsh) interferes with this, or your completion might not work properly.
It sometimes depends on the order the completions are being loaded, so try putting Tanka before or after the others.