HUGO-COMPLETION-ZSH(1)
πΈ hugo-completion-zsh(1) β zsh completion, Hugo Manual edition πΈ
okay bestie, this is the Hugo Manual page for hugo-completion-zsh, and itβs literally all about generating that autocomplete glow-up for your zsh shell. no cap, itβs giving βmake the terminal feel like it knows what youβre typing before you doβ π
β¨
π NAME π
hugo-completion-zsh β Generate the autocompletion script for zsh
π¦ SYNOPSIS π¦
hugo completion zsh [flags]
π DESCRIPTION π
Generate the autocompletion script for the zsh shell. slay.
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 <(hugo completion zsh)
To load completions for every new session, execute once:
π§ Linux:
hugo completion zsh > "${fpath[1]}/_hugo"
π macOS:
hugo completion zsh > $(brew --prefix)/share/zsh/site-functions/_hugo
You will need to start a new shell for this setup to take effect. donβt skip this part, bestie π
β¨ OPTIONS β¨
-h,--help[=false]β help forzsh--no-descriptions[=false]β disable completion descriptions
𧬠OPTIONS INHERITED FROM PARENT COMMANDS π§¬
--clock=""β set the clock used by Hugo, e.g.--clock 2021-11-06T22:30:00.00+09:00--config=""β config file (default ishugo.yaml|json|toml)--configDir="config"β config dir-d,--destination=""β filesystem path to write files to-e,--environment=""β build environment--ignoreVendorPaths=""β ignores any_vendorfor module paths matching the given Glob pattern--logLevel=""β log level (debug|info|warn|error)--noBuildLock[=false]β don't create.hugo_build.lockfile--quiet[=false]β build in quiet mode-M,--renderToMemory[=false]β render to memory (mostly useful when running the server)-s,--source=""β filesystem path to read files relative from--themesDir=""β filesystem path to themes directory
π SEE ALSO π
thatβs the whole vibe, bestie π«Ά this page is from Hugo 0.169.0, dated Oct 2026 β mwah πβ¨
π¦ where this page comes from
- arch rolling: hugo 0.169.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms