1HUGO-COMPLETION-BASH(1) Hugo Manual HUGO-COMPLETION-BASH(1)
2
3
4
6 hugo-completion-bash - Generate the autocompletion script for bash
7
8
9
11 hugo completion bash
12
13
14
16 Generate the autocompletion script for the bash shell.
17
18
19 This script depends on the 'bash-completion' package. If it is not in‐
20 stalled already, you can install it via your OS's package manager.
21
22
23 To load completions in your current shell session:
24
25
26 source <(hugo completion bash)
27
28
29
30 To load completions for every new session, execute once:
31
32
33 Linux:
34 hugo completion bash > /etc/bash_completion.d/hugo
35
36
37
38 macOS:
39 hugo completion bash > $(brew --prefix)/etc/bash_completion.d/hugo
40
41
42
43 You will need to start a new shell for this setup to take effect.
44
45
46
48 -h, --help[=false] help for bash
49
50
51 --no-descriptions[=false] disable completion descriptions
52
53
54
56 --clock="" set the clock used by Hugo, e.g. --clock
57 2021-11-06T22:30:00.00+09:00
58
59
60 --config="" config file (default is hugo.yaml|json|toml)
61
62
63 --configDir="config" config dir
64
65
66 --debug[=false] debug output
67
68
69 -e, --environment="" build environment
70
71
72 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
73 ing the given Glob pattern
74
75
76 --log[=false] enable Logging
77
78
79 --logFile="" log File path (if set, logging enabled automatically)
80
81
82 --quiet[=false] build in quiet mode
83
84
85 -s, --source="" filesystem path to read files relative from
86
87
88 --themesDir="" filesystem path to themes directory
89
90
91 -v, --verbose[=false] verbose output
92
93
94 --verboseLog[=false] verbose logging
95
96
97
99 hugo-completion(1)
100
101
102
103Hugo 0.111.3 Jul 2023 HUGO-COMPLETION-BASH(1)