Skip to main content

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

  1. If shell completion is not already enabled in your environment, enable it by executing the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
  1. To load completions for each session, execute once:
saucectl completion zsh > "${fpath[1]}/_saucectl"
  1. Start a new shell to apply this setup.

fish

saucectl completion fish | source

To load completions for each session, execute once:

saucectl completion fish > ~/.config/fish/completions/saucectl.fish

Powershell

saucectl completion powershell | Out-String | Invoke-Expression

To load completions for every new session, run the following and then source this file from your Powershell profile:

saucectl completion powershell > saucectl.ps1