Skip to content

klim shell completion

Generate native tab completion scripts for your shell.

Terminal window
klim shell completion <bash|zsh|fish|powershell>
ShellSetup
bashsource <(klim shell completion bash)
zshsource <(klim shell completion zsh)
fishklim shell completion fish | source
powershellklim shell completion powershell | Out-String | Invoke-Expression
Terminal window
# bash — add to ~/.bashrc
echo 'source <(klim shell completion bash)' >> ~/.bashrc
# zsh — add to ~/.zshrc
echo 'source <(klim shell completion zsh)' >> ~/.zshrc
# fish — save to completions directory
klim shell completion fish > ~/.config/fish/completions/klim.fish
# powershell — add to $PROFILE
Add-Content $PROFILE 'klim shell completion powershell | Out-String | Invoke-Expression'