From 487add2950e95574fd594f2089cc244aa77e6ab8 Mon Sep 17 00:00:00 2001 From: jstmax! <87650746+jstmaxlol@users.noreply.github.com> Date: Sat, 31 May 2025 19:38:06 +0200 Subject: updated fish_prompt --- jstmax_fish_prompts.fish | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'jstmax_fish_prompts.fish') diff --git a/jstmax_fish_prompts.fish b/jstmax_fish_prompts.fish index c44d452..7cadb12 100644 --- a/jstmax_fish_prompts.fish +++ b/jstmax_fish_prompts.fish @@ -5,12 +5,12 @@ function fish_prompt set -l home $HOME if test "$cwd" = "$home" - echo -e "$user"(set_color green)"~"(set_color white)" ::> " + echo -e "$user"(set_color green)"~"(set_color white)" => " else if string match -q "$home/*" $cwd - set -l relative (string replace "$home/" "~/" $cwd) - echo -e "$user"(set_color green)$relative(set_color white)" ::> " + set -l relative (string replace "$home/" "~/" $cwd) + echo -e "$user"(set_color green)$relative(set_color white)" => " else - echo -e "$user"(set_color green)$cwd(set_color white)" ::> " + echo -e "$user"(set_color green)$cwd(set_color white)" => " end end -- cgit v1.3.1