HUGO-COMPLETION-BASH(1)
β¨ NAME β¨
ok so hugo-completion-bash β it generates the autocompletion script for bash π
that's literally the whole thing, and it's lowkey iconic.
πΈ SYNOPSIS πΈ
hugo completion bash
π DESCRIPTION π
bestie listen: this generates the autocompletion script for the bash shell. that's it, that's the vibe β¨
heads up though β this script depends on the bash-completion package. if it's not installed already, you can install it via your OS's package manager. no cap, go do that first π
To load completions in your current shell session:
source <(hugo completion bash)
To load completions for every new session, execute once:
π§ Linux:
hugo completion bash > /etc/bash_completion.d/hugo
π macOS:
hugo completion bash > $(brew --prefix)/etc/bash_completion.d/hugo
You will need to start a new shell for this setup to take effect π (yeah, the classic "it's not working" moment β just open a fresh shell, trust π«Ά)
π OPTIONS π
-h,--help[=false]β help for bash. your lil emergency exit πͺ--no-descriptions[=false]β disable completion descriptions. bye bye lil explanatory text π«‘
π OPTIONS INHERITED FROM PARENT COMMANDS π
--clock=""β set the clock used by Hugo, e.g.--clock 2021-11-06T22:30:00.00+09:00β° (yes, Hugo can time travel, kinda)--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 π¦
hugo-completion(1)β the parent, the main character π
and that's the whole page, bestie, you ate π this lil beauty comes from Hugo 0.169.0 and is dated Oct 2026 β go forth and complete all the things β¨ππ«Ά
π¦ 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