1HUGO-COMPLETION-ZSH(1)            Hugo Manual           HUGO-COMPLETION-ZSH(1)
2
3
4

NAME

6       hugo-completion-zsh - Generate the autocompletion script for zsh
7
8
9

SYNOPSIS

11       hugo completion zsh [flags]
12
13
14

DESCRIPTION

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 in your current shell session:
28
29
30              source <(hugo completion zsh); compdef _hugo hugo
31
32
33
34       To load completions for every new session, execute once:
35
36
37   Linux:
38              hugo completion zsh > "${fpath[1]}/_hugo"
39
40
41
42   macOS:
43              hugo completion zsh > $(brew --prefix)/share/zsh/site-functions/_hugo
44
45
46
47       You will need to start a new shell for this setup to take effect.
48
49
50

OPTIONS

52       -h, --help[=false]      help for zsh
53
54
55       --no-descriptions[=false]      disable completion descriptions
56
57
58

OPTIONS INHERITED FROM PARENT COMMANDS

60       --clock=""       set   the   clock   used   by   Hugo,   e.g.   --clock
61       2021-11-06T22:30:00.00+09:00
62
63
64       --config=""      config file (default is path/config.yaml|json|toml)
65
66
67       --configDir="config"      config dir
68
69
70       --debug[=false]      debug output
71
72
73       -e, --environment=""      build environment
74
75
76       --ignoreVendorPaths=""      ignores any _vendor for module paths match‐
77       ing the given Glob pattern
78
79
80       --log[=false]      enable Logging
81
82
83       --logFile=""      log File path (if set, logging enabled automatically)
84
85
86       --quiet[=false]      build in quiet mode
87
88
89       -s, --source=""      filesystem path to read files relative from
90
91
92       --themesDir=""      filesystem path to themes directory
93
94
95       -v, --verbose[=false]      verbose output
96
97
98       --verboseLog[=false]      verbose logging
99
100
101

SEE ALSO

103       hugo-completion(1)
104
105
106
107Hugo 0.101.0                       Oct 2022             HUGO-COMPLETION-ZSH(1)
Impressum