File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,17 @@ func NewCommand() *cobra.Command {
38
38
const longDescription = `Outputs terraform-doc shell completion for the given shell (bash, zsh, fish)
39
39
This depends on the bash-completion binary. Example installation instructions:
40
40
# for bash users
41
- $ terraform-doc completion bash > ~/.terraform-doc-completion
41
+ $ terraform-docs completion bash > ~/.terraform-doc-completion
42
42
$ source ~/.terraform-doc-completion
43
43
44
44
# for zsh users
45
- % terraform-doc completion zsh > /usr/local/share/zsh/site-functions/_terraform-doc
45
+ % terraform-docs completion zsh > /usr/local/share/zsh/site-functions/_terraform-doc
46
46
% autoload -U compinit && compinit
47
47
# or if zsh-completion is installed via homebrew
48
- % terraform-doc completion zsh > "${fpath[1]}/_terraform-doc"
48
+ % terraform-docs completion zsh > "${fpath[1]}/_terraform-doc"
49
49
50
50
# for fish users
51
- $ terraform-doc completion fish > ~/.config/fish/completions/terraform-docs.fish
51
+ $ terraform-docs completion fish > ~/.config/fish/completions/terraform-docs.fish
52
52
53
53
Additionally, you may want to output the completion to a file and source in your .bashrc
54
54
Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2
You can’t perform that action at this time.
0 commit comments