diff options
| -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)" ::> " |