Skip to content

Commit

Permalink
tweaking extra completion instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ayax79 committed Dec 9, 2024
1 parent d728bbb commit 52185be
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions completions.go
Original file line number Diff line number Diff line change
Expand Up @@ -858,9 +858,12 @@ To configure the Nushell cobra external completer for the first time:
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 in the Multiple completer (https://www.nushell.sh/cookbook/external_completers.html#multiple-completer) section of the Nushell cookbook.
This completer will work for all cobra based commands.
More information can be found in the External Completions section of the Nushell book:
https://www.nushell.sh/book/custom_completions.html#external-completions
Information on setting up more than one external completer can be found in the Multiple completer section of the Nushell cookbook:
https://www.nushell.sh/cookbook/external_completers.html#multiple-completer
`, c.Root().Name()),
Args: NoArgs,
ValidArgsFunction: NoFileCompletions,
Expand Down
9 changes: 6 additions & 3 deletions site/content/completions/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,12 @@ Nushell:
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 in the Multiple completer (https://www.nushell.sh/cookbook/external_completers.html#multiple-completer) section of the Nushell cookbook.
This completer will work for all cobra based commands.
More information can be found in the External Completions section of the Nushell book:
https://www.nushell.sh/book/custom_completions.html#external-completions
Information on setting up more than one external completer can be found in the Multiple completer section of the Nushell cookbook:
https://www.nushell.sh/cookbook/external_completers.html#multiple-completer
`,cmd.Root().Name()),
DisableFlagsInUseLine: true,
Expand Down

0 comments on commit 52185be

Please sign in to comment.