From 52185bed6e0016f343afd14f57bf7ed6311ec2a4 Mon Sep 17 00:00:00 2001 From: Jack Wright Date: Sun, 8 Dec 2024 19:44:45 -0800 Subject: [PATCH] tweaking extra completion instructions --- completions.go | 9 ++++++--- site/content/completions/_index.md | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/completions.go b/completions.go index 5d67196..1e5a4f5 100644 --- a/completions.go +++ b/completions.go @@ -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, diff --git a/site/content/completions/_index.md b/site/content/completions/_index.md index 1006020..3548478 100644 --- a/site/content/completions/_index.md +++ b/site/content/completions/_index.md @@ -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,