Skip to content

completion

Terminal window
sloptor completion [--install] [--force] <SHELL>

Generate a shell completion script.

Argument Description
<SHELL> Shell to generate completions for [bash, elvish, fish, nu, nushell, powershell, pwsh, zsh]
Flag Description Aliases
--install Write the script where the shell looks for it instead of printing it
--force With --install, replace a file that was not generated by usage
Flag Description Aliases
-v, -V, --version Print sloptor's version
--color <WHEN> When to use colour [auto, always, never] (default: auto)
-h, --help Print help (see more with '--help')
Terminal window
sloptor completion zsh --install # write the script where zsh looks for it
sloptor completion fish > ~/.config/fish/completions/sloptor.fish
sloptor completion powershell | Out-String | Invoke-Expression