ZSYS: zsysd(1) ZSYS: zsysd(1)

zsysd-completion - Generates completion scripts (will attempt to automatically detect shell)

zsysd completion [bash|zsh|powershell] [flags]

To load completions: NOTE: When shell type isn't defined shell will be automatically identified based on the $SHELL environment vairable

Bash:

source <(zsysd completion bash)
# To load completions for each session, execute once:
# Linux:
zsysd completion bash > /etc/bash_completion.d/zsysd
# macOS:
zsysd completion bash > /usr/local/etc/bash_completion.d/zsysd

Zsh:

# If shell completion is not already enabled in your environment,
# you will need to enable it.  You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
# To load completions for each session, execute once:
zsysd completion zsh > "${fpath[1]}/_zsysd"
# You will need to start a new shell for this setup to take effect.

PowerShell:

zsysd completion powershell | Out-String | Invoke-Expression
# To load completions for every new session, run:
zsysd completion powershell > zsysd.ps1
# and source this file from your PowerShell profile.

-h, --help[=false] help for completion

-v, --verbose[=0] issue INFO (-v) and DEBUG (-vv) output

zsysd(1)

24-Oct-2024 Auto generated by spf13/cobra

Oct 2024 Auto generated by spf13/cobra