From 8092af9c451b9dc238da67196a312ef45d100a7b Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sun, 15 Sep 2024 09:38:55 +0200 Subject: [PATCH] docs/prompt: Add funcsave/funced --- doc_src/prompt.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc_src/prompt.rst b/doc_src/prompt.rst index 9af9687c4..3b3d02aa4 100644 --- a/doc_src/prompt.rst +++ b/doc_src/prompt.rst @@ -152,6 +152,13 @@ And it looks like: after we run ``false`` (which returns 1). +Save the prompt +--------------- + +Once you are happy with your prompt, you can save it with ``funcsave fish_prompt`` (see :doc:`cmds/funcsave`) or write it to ~/.config/fish/functions/fish_prompt.fish yourself. + +If you want to edit it again, open that file or use ``funced fish_prompt`` (see :doc:`cmds/funced`). + Where to go from here? ----------------------