mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 07:04:29 +00:00
docs/prompt: Fix nested list formatting
Sphinx needs three spaces here at least
This commit is contained in:
parent
c7b43b3abf
commit
22f2926185
1 changed files with 6 additions and 6 deletions
|
@ -158,14 +158,14 @@ Where to go from here?
|
|||
We have now built a simple but working and usable prompt, but of course more can be done.
|
||||
|
||||
- Fish offers more helper functions:
|
||||
- ``prompt_login`` to describe the user/hostname/container or ``prompt_hostname`` to describe just the host
|
||||
- ``fish_is_root_user`` to help with changing the symbol for root.
|
||||
- ``fish_vcs_prompt`` to show version control information (or ``fish_git_prompt`` / ``fish_hg_prompt`` / ``fish_svn_prompt`` to limit it to specific systems)
|
||||
- ``prompt_login`` to describe the user/hostname/container or ``prompt_hostname`` to describe just the host
|
||||
- ``fish_is_root_user`` to help with changing the symbol for root.
|
||||
- ``fish_vcs_prompt`` to show version control information (or ``fish_git_prompt`` / ``fish_hg_prompt`` / ``fish_svn_prompt`` to limit it to specific systems)
|
||||
- You can add a right prompt by changing :doc:`fish_right_prompt <cmds/fish_right_prompt>` or a vi-mode prompt by changing :doc:`fish_mode_prompt <cmds/fish_mode_prompt>`.
|
||||
- Some prompts have interesting or advanced features
|
||||
- Add the time when the prompt was printed
|
||||
- Show various integrations like python's venv
|
||||
- Color the parts differently.
|
||||
- Add the time when the prompt was printed
|
||||
- Show various integrations like python's venv
|
||||
- Color the parts differently.
|
||||
|
||||
You can look at fish's sample prompts for inspiration. Open up :doc:`fish_config <cmds/fish_config>`, find one you like and pick it. For example::
|
||||
|
||||
|
|
Loading…
Reference in a new issue