.nh .TH "SLINKWATCH-COMPLETION-ZSH" "1" "Apr 2023" "" "" .SH NAME .PP slinkwatch-completion-zsh - Generate the autocompletion script for zsh .SH SYNOPSIS .PP \fBslinkwatch completion zsh [flags]\fP .SH DESCRIPTION .PP Generate the autocompletion script for the zsh shell. .PP If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once: .PP .RS .nf echo "autoload -U compinit; compinit" >> ~/.zshrc .fi .RE .PP To load completions in your current shell session: .PP .RS .nf source <(slinkwatch completion zsh); compdef _slinkwatch slinkwatch .fi .RE .PP To load completions for every new session, execute once: .SS Linux: .PP .RS .nf slinkwatch completion zsh > "${fpath[1]}/_slinkwatch" .fi .RE .SS macOS: .PP .RS .nf slinkwatch completion zsh > $(brew --prefix)/share/zsh/site-functions/_slinkwatch .fi .RE .PP You will need to start a new shell for this setup to take effect. .SH OPTIONS .PP \fB-h\fP, \fB--help\fP[=false] help for zsh .PP \fB--no-descriptions\fP[=false] disable completion descriptions .SH SEE ALSO .PP \fBslinkwatch-completion(1)\fP