Skip to content

Commit 8f0ff8f

Browse files
authored
fix the way to change completion prompt marker (nushell#1834)
1 parent 43bfa70 commit 8f0ff8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/custom_completions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In the second line, `string@animals` tells Nushell two things—the shape of the
2929
The third line is demonstration of the completion. Type the name of the custom command `my-command`, followed by a space, and then the <kbd>Tab</kbd> 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 <kbd>Tab</kbd> key to complete "eel" automatically.
3030

3131
::: tip
32-
When the completion menu is displayed, the prompt changes to include the `|` character by default. This can be changed using `$env.config.menus.marker`.
32+
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).
3333
:::
3434

3535
::: tip

0 commit comments

Comments
 (0)