1HUGO-COMPLETION-ZSH(1) Hugo Manual HUGO-COMPLETION-ZSH(1)
2
3
4
6 hugo-completion-zsh - Generate the autocompletion script for zsh
7
8
9
11 hugo completion zsh [flags]
12
13
14
16 Generate the autocompletion script for the zsh shell.
17
18
19 If shell completion is not already enabled in your environment you will
20 need to enable it. You can execute the following once:
21
22
23 echo "autoload -U compinit; compinit" >> ~/.zshrc
24
25
26
27 To load completions for every new session, execute once:
28
29
30 Linux:
31 hugo completion zsh > "${fpath[1]}/_hugo"
32
33
34
35 macOS:
36 hugo completion zsh > /usr/local/share/zsh/site-functions/_hugo
37
38
39
40 You will need to start a new shell for this setup to take effect.
41
42
43
45 -h, --help[=false] help for zsh
46
47
48 --no-descriptions[=false] disable completion descriptions
49
50
51
53 --config="" config file (default is path/config.yaml|json|toml)
54
55
56 --configDir="config" config dir
57
58
59 --debug[=false] debug output
60
61
62 -e, --environment="" build environment
63
64
65 --ignoreVendorPaths="" ignores any _vendor for module paths match‐
66 ing the given Glob pattern
67
68
69 --log[=false] enable Logging
70
71
72 --logFile="" log File path (if set, logging enabled automatically)
73
74
75 --quiet[=false] build in quiet mode
76
77
78 -s, --source="" filesystem path to read files relative from
79
80
81 --themesDir="" filesystem path to themes directory
82
83
84 -v, --verbose[=false] verbose output
85
86
87 --verboseLog[=false] verbose logging
88
89
90
92 hugo-completion(1)
93
94
95
96Hugo 0.93.3 May 2022 HUGO-COMPLETION-ZSH(1)