$ dok completions
Print a shell completion script to stdout
Synopsis
dok completions [OPTIONS] <SHELL>Description
Prints a completion script for bash, zsh, fish, nushell, powershell or elvish. It is generated from the same definition the CLI is built from, so it cannot fall behind the commands and flags that exist.
Homebrew, the .deb and the .rpm install completions already. Every release also attaches a tarball with all six.
Arguments
<SHELL>- Which shell to generate for
Options
None beyond the global options.
Every command also takes the global options: --json, --color, --icons and --theme.
Examples
$ dok completions zsh > "${fpath[1]}/_dok" # zsh$ dok completions bash > /etc/bash_completion.d/dok # bash$ dok completions fish > ~/.config/fish/completions/dok.fish # fishSee also
dok 0.3.02026-09-27DOK-COMPLETIONS(1)