mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 07:21:14 -03:00
FAQ: Add question about mode prompt
This is actually a frequently asked question.
This commit is contained in:
@@ -32,6 +32,14 @@ The prompt is the output of the ``fish_prompt`` function. Put it in ``~/.config/
|
|||||||
|
|
||||||
You can also use the Web configuration tool, :ref:`fish_config <cmd-fish_config>`, to preview and choose from a gallery of sample prompts.
|
You can also use the Web configuration tool, :ref:`fish_config <cmd-fish_config>`, to preview and choose from a gallery of sample prompts.
|
||||||
|
|
||||||
|
Why does my prompt show a `[I]`?
|
||||||
|
--------------------------------
|
||||||
|
|
||||||
|
That's the :ref:`fish_mode_prompt <cmd-fish_mode_prompt>`. It is displayed by default when you've activated :ref:`vi mode <cmd-fish_vi_key_bindings>`.
|
||||||
|
|
||||||
|
If you haven't activated vi mode on purpose, you might have installed a third-party theme that does it.
|
||||||
|
|
||||||
|
If you want to change or disable this display, modify the `fish_mode_prompt` function, for instance via :ref:`funced <cmd-funced>`.
|
||||||
|
|
||||||
How do I run a command from history?
|
How do I run a command from history?
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user