summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjStmaX! <87650746+jstmaxlol@users.noreply.github.com>2025-09-29 22:10:11 +0200
committerGitHub <noreply@github.com>2025-09-29 22:10:11 +0200
commitd66c9083e20c4ddce680ee4ac10c0606b4de6575 (patch)
tree0ee437ddebc323bb4fc3e289cec8beb96cbb1658
parenta85a1b4d6daf48575758893df786fe9f751e7268 (diff)
it looks so fucking cool
-rw-r--r--cfg/fish_prompt[s].fish28
1 files changed, 14 insertions, 14 deletions
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