From 59bf8af07f005c03b2445a954756124c75df6c41 Mon Sep 17 00:00:00 2001 From: jstmax! <87650746+jstmaxlol@users.noreply.github.com> Date: Sun, 25 May 2025 18:32:20 +0200 Subject: #fix --- jstmax_fish_prompts.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jstmax_fish_prompts.fish b/jstmax_fish_prompts.fish index 5c0f52d..c44d452 100644 --- a/jstmax_fish_prompts.fish +++ b/jstmax_fish_prompts.fish @@ -7,7 +7,7 @@ function fish_prompt if test "$cwd" = "$home" echo -e "$user"(set_color green)"~"(set_color white)" ::> " else if string match -q "$home/*" $cwd - set -l relative (string replace "$home/" "~/"$cwd) + 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)" ::> " -- cgit v1.3.1