.nh .TH "HUGO-COMPLETION-ZSH" "1" "Nov 2024" "Hugo 0.138.0" "Hugo Manual" .SH NAME .PP hugo-completion-zsh - Generate the autocompletion script for zsh .SH SYNOPSIS .PP \fBhugo 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: .EX echo "autoload -U compinit; compinit" >> ~/.zshrc .EE .PP To load completions in your current shell session: .EX source <(hugo completion zsh) .EE .PP To load completions for every new session, execute once: .SS Linux: .EX hugo completion zsh > "${fpath[1]}/_hugo" .EE .SS macOS: .EX hugo completion zsh > $(brew --prefix)/share/zsh/site-functions/_hugo .EE .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 OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--clock\fP="" set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00 .PP \fB--config\fP="" config file (default is hugo.yaml|json|toml) .PP \fB--configDir\fP="config" config dir .PP \fB--debug\fP[=false] debug output .PP \fB-d\fP, \fB--destination\fP="" filesystem path to write files to .PP \fB-e\fP, \fB--environment\fP="" build environment .PP \fB--ignoreVendorPaths\fP="" ignores any _vendor for module paths matching the given Glob pattern .PP \fB--logLevel\fP="" log level (debug|info|warn|error) .PP \fB--quiet\fP[=false] build in quiet mode .PP \fB-M\fP, \fB--renderToMemory\fP[=false] render to memory (mostly useful when running the server) .PP \fB-s\fP, \fB--source\fP="" filesystem path to read files relative from .PP \fB--themesDir\fP="" filesystem path to themes directory .PP \fB-v\fP, \fB--verbose\fP[=false] verbose output .SH SEE ALSO .PP \fBhugo-completion(1)\fP