Skip to content

Commit

Permalink
Correctly document autocomplete command.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Dec 5, 2024
1 parent 5cdfce4 commit 6697cdb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions doc/src/guide/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ Ensure that `$HOME/.cargo/bin` is on your `$PATH`.
Execute the appropriate command in your shell's profile:
* Bash:
```shell
source <(COMPLETE=bash your_program)
source <(COMPLETE=bash row)
```
* Fish:
```shell
source (COMPLETE=fish your_program | psub)
source (COMPLETE=fish row | psub)
```
* Zsh:
```shell
source <(COMPLETE=zsh your_program)
source <(COMPLETE=zsh row)
```
For additional shell configurations, see [clap-complete's documentation].
Expand Down
6 changes: 3 additions & 3 deletions doc/src/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ expands to the value of the given JSON pointer for the directory acted on.

**Row** 0.4 also adds _shell autocompletion_. To enable, execute the appropriate
command in your shell's profile:
* Bash: `source <(COMPLETE=bash your_program)`
* Fish: `source (COMPLETE=fish your_program | psub)`
* Zsh: `source <(COMPLETE=zsh your_program)`
* Bash: `source <(COMPLETE=bash row)`
* Fish: `source (COMPLETE=fish row | psub)`
* Zsh: `source <(COMPLETE=zsh row)`

*Added:*

Expand Down

0 comments on commit 6697cdb

Please sign in to comment.