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 {
3838const longDescription = `Outputs terraform-doc shell completion for the given shell (bash, zsh, fish)
3939This depends on the bash-completion binary. Example installation instructions:
4040# for bash users
41- $ terraform-doc completion bash > ~/.terraform-doc-completion
41+ $ terraform-docs completion bash > ~/.terraform-doc-completion
4242 $ source ~/.terraform-doc-completion
4343
4444# 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
4646 % autoload -U compinit && compinit
4747# 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"
4949
5050# 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
5252
5353Additionally, you may want to output the completion to a file and source in your .bashrc
5454Note 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