packslip completion
- Usage:
packslip completion <SHELL>
Generate a self-contained shell completion script
Print the script to stdout, and redirect it to a file your shell loads, as the example does for bash. The script asks the installed packslip for candidates, so it needs no other tool and keeps working after upgrades. The setup for each shell is at https://packslip.dev/cli/#set-up-shell-completions
Arguments
<SHELL>— The shell to generate the script forChoices:
bash,elvish,zsh,fish,nu,nushell,powershell,pwsh
Flags
-h --help— Print help
Examples
Install bash completions for your user
mkdir -p ~/.local/share/bash-completion/completions && packslip completion bash > ~/.local/share/bash-completion/completions/packslip