From 83b10c391973e8703ec4061fd89154bddb619595 Mon Sep 17 00:00:00 2001 From: Bergbok <66174189+Bergbok@users.noreply.github.com> Date: Sat, 3 May 2025 14:11:30 +0200 Subject: [PATCH] Rephrase set_color tutorial docs Closes #11446 --- doc_src/tutorial.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc_src/tutorial.rst b/doc_src/tutorial.rst index e6ed45112..9f0db94d3 100644 --- a/doc_src/tutorial.rst +++ b/doc_src/tutorial.rst @@ -631,12 +631,12 @@ You can define your own prompt from the command line: Then, if you are happy with it, you can save it to disk by typing ``funcsave fish_prompt``. This saves the prompt in ``~/.config/fish/functions/fish_prompt.fish``. (Or, if you want, you can create that file manually from the start.) -Multiple lines are OK. Colors can be set via :doc:`set_color `, passing it named ANSI colors, or hex RGB values:: +Multiple lines are OK. Colors can be set via :doc:`set_color ` by passing it named ANSI colors, or hex RGB values:: function fish_prompt set_color purple date "+%m/%d/%y" - set_color F00 + set_color FF0000 echo (pwd) '>' (set_color normal) end