Skip to content

Command-line completion

Tanka supports CLI completion for bash, zsh and fish.

Terminal window
# Install
tk complete
# Uninstall
tk complete --remove

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

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.