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.