From d66c9083e20c4ddce680ee4ac10c0606b4de6575 Mon Sep 17 00:00:00 2001 From: jStmaX! <87650746+jstmaxlol@users.noreply.github.com> Date: Mon, 29 Sep 2025 22:10:11 +0200 Subject: it looks so fucking cool --- cfg/fish_prompt[s].fish | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'cfg') diff --git a/cfg/fish_prompt[s].fish b/cfg/fish_prompt[s].fish index 34cbaca..c4c9b49 100644 --- a/cfg/fish_prompt[s].fish +++ b/cfg/fish_prompt[s].fish @@ -5,23 +5,23 @@ function fish_prompt set -l home $HOME if test "$cwd" = "$home" - # if in ~ - echo -e (set_color red)"("(set_color white)"$user" \ - (set_color red)"⮞"(set_color white)"⮞"(set_color red)"⮞" \ - (set_color white)"~"(set_color red)")"(set_color normal)"\n⮞ " - # (max⮞⮞⮞~) - # ⮞ + # if in ~ + echo -e (set_color white)"╭"(set_color red)"("(set_color white)"$user" \ + (set_color red)"⮞"(set_color white)"⮞"(set_color red)"⮞" \ + (set_color white)"~"(set_color red)")"(set_color red)"\n╰"(set_color white)"⮞ " + # ╭(max⮞⮞⮞~) + # ╰⮞ else if string match -q "$home/*" $cwd set -l relative (string replace "$home/" "~/" $cwd) - # if in a ~ subdir - echo -e (set_color red)"("(set_color white)"$user" \ - (set_color red)"⮞"(set_color white)"⮞"(set_color red)"⮞" \ - (set_color white)$relative(set_color red)")"(set_color normal)"\n⮞ " + # if in a ~ subdir + echo -e (set_color white)"╭"(set_color red)"("(set_color white)"$user" \ + (set_color red)"⮞"(set_color white)"⮞"(set_color red)"⮞" \ + (set_color white)$relative(set_color red)")"(set_color red)"\n╰"(set_color white)"⮞ " else - # if in any other dir - echo -e (set_color red)"("(set_color white)"$user" \ - (set_color red)"⮞"(set_color white)"⮞"(set_color red)"⮞" \ - (set_color white)$cwd(set_color red)")"(set_color normal)"\n⮞ " + # if in any other dir + echo -e (set_color white)"╭"(set_color red)"("(set_color white)"$user" \ + (set_color red)"⮞"(set_color white)"⮞"(set_color red)"⮞" \ + (set_color white)$cwd(set_color red)")"(set_color red)"\n╰"(set_color white)"⮞ " end end -- cgit v1.3.1