slinkwatch-completion-zsh1
Generate the autocompletion script for zsh
Usage
slinkwatch completion
zsh
[flags]
Overview
Generate the autocompletion script for the zsh shell.
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 in your current shell session:
source <(slinkwatch completion zsh)
To load completions for every new session, execute once:
Linux:
slinkwatch completion zsh > "${fpath[1]}/_slinkwatch"
macOS:
slinkwatch completion zsh > $(brew --prefix)/share/zsh/site-functions/_slinkwatch
You will need to start a new shell for this setup to take effect.
Options
-h, --help[=false]
help for zsh
--no-descriptions[=false]
disable completion descriptions
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.