diff --git a/share/tools/web_config/sample_prompts/nim.fish b/share/tools/web_config/sample_prompts/nim.fish index a6a886580..95aaab56e 100644 --- a/share/tools/web_config/sample_prompts/nim.fish +++ b/share/tools/web_config/sample_prompts/nim.fish @@ -24,6 +24,9 @@ function fish_prompt # │ 1 15048 0% arrêtée sleep 100000 # ╰─>$ echo there + set -l retc red + test $status = 0; and set retc green + set -q __fish_git_prompt_showupstream or set -g __fish_git_prompt_showupstream auto @@ -45,8 +48,6 @@ function fish_prompt set_color -o green echo -n ']' end - and set retc green - or set retc red set_color $retc echo -n '┬─'