Skip to content

Commit c2fd7dd

Browse files
committed
Fix transient right-prompt
1 parent 99eaf02 commit c2fd7dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/configuration_preview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Each of these variables accepts either:
150150
- `null`, in which case the component will revert to its internal default value.
151151

152152
::: tip
153-
To disable the right-prompt, for instance, add the following to the `env.nu`:
153+
To disable the right-prompt, for instance, add the following to `env.nu`:
154154

155155
```nu
156156
$env.PROMPT_COMMAND_RIGHT = ""
@@ -172,7 +172,7 @@ As with the normal prompt commands above, each transient prompt can accept a (st
172172
The environment variables which control the transient prompt components are:
173173

174174
- `$env.TRANSIENT_PROMPT_COMMAND`: The prompt itself after the commandline has been executed
175-
- `$env.PROMPT_COMMAND_RIGHT`: A prompt which can appear on the right side of the terminal
175+
- `$env.TRANSIENT_PROMPT_COMMAND_RIGHT`: A prompt which can appear on the right side of the terminal
176176
- `$env.TRANSIENT_PROMPT_INDICATOR`: Emacs mode indicator
177177
- `$env.TRANSIENT_PROMPT_INDICATOR_VI_NORMAL`: Vi-normal mode indicator
178178
- `$env.TRANSIENT_PROMPT_INDICATOR_VI_INSERT`: Vi-insert mode indicator

0 commit comments

Comments
 (0)