Skip to content

Commit

Permalink
Document that fish completion exists in REFERENCE.md (#346)
Browse files Browse the repository at this point in the history
Document that fish completion exists in REFERENCE.md
  • Loading branch information
twpayne committed Jun 12, 2019
2 parents 6c00d56 + c91bc9d commit 5603bef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmd/helps.gen.go
Expand Up @@ -103,9 +103,10 @@ var helps = map[string]help{
},
"completion": {
long: "" +
"Output shell completion code for the specified shell (\"bash\" or \"zsh\").\n",
"Output shell completion code for the specified shell (\"bash\", \"fish\", or \"zsh\").\n",
example: "" +
" chezmoi completion bash\n" +
" chezmoi completion fish > ~/.config/fish/completions/chezmoi\n" +
" chezmoi completion zsh",
},
"data": {
Expand Down
3 changes: 2 additions & 1 deletion docs/REFERENCE.md
Expand Up @@ -384,11 +384,12 @@ comma (`,`).

### `completion` *shell*

Output shell completion code for the specified shell (`bash` or `zsh`).
Output shell completion code for the specified shell (`bash`, `fish`, or `zsh`).

#### `completion` examples

chezmoi completion bash
chezmoi completion fish > ~/.config/fish/completions/chezmoi
chezmoi completion zsh

### `data`
Expand Down

0 comments on commit 5603bef

Please sign in to comment.