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 > /usr/local/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 --config="" config file (default is path/config.yaml|json|toml)
57
58
59 --configDir="config" config dir
60
61
62 --debug[=false] debug output
63
64
65 -e, --environment="" build environment
66
67
68 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
69 ing the given Glob pattern
70
71
72 --log[=false] enable Logging
73
74
75 --logFile="" log File path (if set, logging enabled automatically)
76
77
78 --quiet[=false] build in quiet mode
79
80
81 -s, --source="" filesystem path to read files relative from
82
83
84 --themesDir="" filesystem path to themes directory
85
86
87 -v, --verbose[=false] verbose output
88
89
90 --verboseLog[=false] verbose logging
91
92
93
95 hugo-completion(1)
96
97
98
99Hugo 0.93.3 May 2022 HUGO-COMPLETION-BASH(1)