saucectl completion
Generate a completion script for bash
, zsh
, fish
and powershell
shells.
Usage
$ saucectl completion [OPTIONS]
Options
bash
Linux
saucectl completion bash > /etc/bash_completion.d/saucectl
macOS
saucectl completion bash > /usr/local/etc/bash_completion.d/saucectl
zsh
- If shell completion is not already enabled in your environment, enable it by executing the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
- To load completions for each session, execute once:
saucectl completion zsh > "${fpath[1]}/_saucectl"
- Start a new shell to apply this setup.
fish
saucectl completion fish | source
saucectl completion fish > ~/.config/fish/completions/saucectl.fish
Powershell
saucectl completion powershell | Out-String | Invoke-Expression
saucectl completion powershell > saucectl.ps1