more documentation tweaks

This commit is contained in:
Jack Wright 2024-11-30 14:58:44 -08:00
parent 59726e2b0f
commit 18d7a29987

View file

@ -76,14 +76,14 @@ Nushell:
# 1. Edit the nushell config file: # 1. Edit the nushell config file:
> config nu > config nu
# 2. Copy the completer to at the end of the file. # 2. Copy the completer to at the end of the file.
# 3. Add a section like the following below the cobra_completer: # 3. Add a section like the following below at the end of the file:
$env.config.completions.external = { $env.config.completions.external = {
enable: true enable: true
max_results: 100 max_results: 100
completer: $cobra_completer completer: $cobra_completer
} }
NOTE: This completer will work for all cobra based commands. More information can be found in the [External Completions](https://www.nushell.sh/book/custom_completions.html#custom-descriptions) section of the Nushell book. Information on setting up more than one external completer can be found [Multiple completer](https://www.nushell.sh/cookbook/external_completers.html#multiple-completer) of the Nushell cookbook. NOTE: This completer will work for all cobra based commands. More information can be found in the [External Completions](https://www.nushell.sh/book/custom_completions.html#custom-descriptions) section of the Nushell book. Information on setting up more than one external completer can be found in the [Multiple completer](https://www.nushell.sh/cookbook/external_completers.html#multiple-completer) section of the Nushell cookbook.
`,cmd.Root().Name()), `,cmd.Root().Name()),
DisableFlagsInUseLine: true, DisableFlagsInUseLine: true,