Skip to content

Commit 29e186a

Browse files
@lb1abrittandeyoung
authored andcommitted
Fixed binary name in description output
Added missing "s" character in description output. Signed-off-by: @lb1a <github@lb1a.de> Signed-off-by: Brittan DeYoung <32572259+brittandeyoung@users.noreply.github.com>
1 parent 9e81dc2 commit 29e186a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/completion/completion.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ func NewCommand() *cobra.Command {
3838
const longDescription = `Outputs terraform-doc shell completion for the given shell (bash, zsh, fish)
3939
This 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
5353
Additionally, you may want to output the completion to a file and source in your .bashrc
5454
Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2

0 commit comments

Comments
 (0)