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 for zsh
  • --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 is hugo.yaml|json|toml)
  • --configDir="config" β€” config dir
  • -d, --destination="" β€” filesystem path to write files to
  • -e, --environment="" β€” build environment
  • --ignoreVendorPaths="" β€” ignores any _vendor for module paths matching the given Glob pattern
  • --logLevel="" β€” log level (debug|info|warn|error)
  • --noBuildLock[=false] β€” don't create .hugo_build.lock file
  • --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