Skip to content

Commit a441099

Browse files
committed
docs(issue-10): fix usage long description in completion
1 parent 55440cb commit a441099

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ Completion could be generate running the `miactl completion zsh` command
111111

112112
The generated completion script should be put somewhere in your $fpath named _miactl.
113113

114+
114115
[github-actions]: https://github.com/mia-platform/miactl/actions
115116
[github-actions-svg]: https://github.com/mia-platform/miactl/workflows/Test%20and%20build/badge.svg
116117
[godoc-svg]: https://godoc.org/github.com/mia-platform/miactl?status.svg

cmd/completion.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ func newCompletionCmd(rootCmd *cobra.Command) *cobra.Command {
2020
2121
miactl completion fish >~/.config/fish/completions/miactl.fish
2222
23-
For zsh, add the following to your ~/.zshrc file:
23+
For zsh:
2424
25-
source <(miactl completion zsh)
25+
To generate the completion script, run miactl completion zsh
26+
the generated completion script should be put somewhere in your $fpath named _miactl
2627
2728
---
2829

0 commit comments

Comments
 (0)