.nh .TH "HUGO-COMPLETION-BASH" "1" "Mar 2023" "Hugo 0.111.3" "Hugo Manual" .SH NAME .PP hugo-completion-bash - Generate the autocompletion script for bash .SH SYNOPSIS .PP \fBhugo completion bash\fP .SH DESCRIPTION .PP Generate the autocompletion script for the bash shell. .PP This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager. .PP To load completions in your current shell session: .PP .RS .nf source <(hugo completion bash) .fi .RE .PP To load completions for every new session, execute once: .SS Linux: .PP .RS .nf hugo completion bash > /etc/bash_completion.d/hugo .fi .RE .SS macOS: .PP .RS .nf hugo completion bash > $(brew --prefix)/etc/bash_completion.d/hugo .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 bash .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-e\fP, \fB--environment\fP="" build environment .PP \fB--ignoreVendorPaths\fP="" ignores any _vendor for module paths matching the given Glob pattern .PP \fB--log\fP[=false] enable Logging .PP \fB--logFile\fP="" log File path (if set, logging enabled automatically) .PP \fB--quiet\fP[=false] build in quiet mode .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 .PP \fB--verboseLog\fP[=false] verbose logging .SH SEE ALSO .PP \fBhugo-completion(1)\fP