From 22f292618546777653428d922fd14ada8ee9936c Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Wed, 28 Jun 2023 16:13:00 +0200 Subject: [PATCH] docs/prompt: Fix nested list formatting Sphinx needs three spaces here at least --- doc_src/prompt.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc_src/prompt.rst b/doc_src/prompt.rst index 2bce360b8..94c806fe3 100644 --- a/doc_src/prompt.rst +++ b/doc_src/prompt.rst @@ -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 ` or a vi-mode prompt by changing :doc:`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 `, find one you like and pick it. For example::