diff options
| author | jstmax! <87650746+jstmaxlol@users.noreply.github.com> | 2025-05-31 19:38:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-31 19:38:06 +0200 |
| commit | 487add2950e95574fd594f2089cc244aa77e6ab8 (patch) | |
| tree | e24fe30cf73e65a76f8350bda9bb7ae88cfe0751 /jstmax_fish_prompts.fish | |
| parent | 59bf8af07f005c03b2445a954756124c75df6c41 (diff) | |
updated fish_prompt
Diffstat (limited to 'jstmax_fish_prompts.fish')
| -rw-r--r-- | jstmax_fish_prompts.fish | 8 |
1 files changed, 4 insertions, 4 deletions
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 |