From 50051a10f138b0ae9458832fdfc6d55a372b9974 Mon Sep 17 00:00:00 2001
From: PADAone <50942816+yo-goto@users.noreply.github.com>
Date: Sat, 15 Mar 2025 13:43:57 +0900
Subject: [PATCH] fix the way to change completion prompt marker
---
book/custom_completions.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/book/custom_completions.md b/book/custom_completions.md
index 9e277a585fb..c5234d4b4c5 100644
--- a/book/custom_completions.md
+++ b/book/custom_completions.md
@@ -29,7 +29,7 @@ In the second line, `string@animals` tells Nushell two things—the shape of the
The third line is demonstration of the completion. Type the name of the custom command `my-command`, followed by a space, and then the Tab key. This displays a menu with the possible completions. Custom completions work the same as other completions in the system, allowing you to type `e` followed by the Tab key to complete "eel" automatically.
::: tip
-When the completion menu is displayed, the prompt changes to include the `|` character by default. This can be changed using `$env.config.menus.marker`.
+When the completion menu is displayed, the prompt changes to include the `|` character by default. To change the prompt marker, modify the `marker` value of the record, where the `name` key is `completion_menu`, in the `$env.config.menus` list. See also [the completion menu configuration](/book/line_editor.md#completion-menu).
:::
::: tip