From 6697cdb960ef8794423e69df0d0b9adffec1fa68 Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Thu, 5 Dec 2024 09:21:11 -0500 Subject: [PATCH] Correctly document autocomplete command. --- doc/src/guide/install.md | 6 +++--- doc/src/release-notes.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/src/guide/install.md b/doc/src/guide/install.md index 9fbc5d0..3beb379 100644 --- a/doc/src/guide/install.md +++ b/doc/src/guide/install.md @@ -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]. diff --git a/doc/src/release-notes.md b/doc/src/release-notes.md index 79f169e..6b6992f 100644 --- a/doc/src/release-notes.md +++ b/doc/src/release-notes.md @@ -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:*