diff options
| author | jstmax! <87650746+jstmaxlol@users.noreply.github.com> | 2025-05-25 18:32:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-25 18:32:20 +0200 |
| commit | 59bf8af07f005c03b2445a954756124c75df6c41 (patch) | |
| tree | 599074482a2e6f25082c7619d7d5f91fd3bc7dce /jstmax_fish_prompts.fish | |
| parent | f342f1d96dce653032094a2d74b89e678476b3ea (diff) | |
#fix
Diffstat (limited to 'jstmax_fish_prompts.fish')
| -rw-r--r-- | jstmax_fish_prompts.fish | 2 |
1 files changed, 1 insertions, 1 deletions
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)" ::> " |