1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-12-22 14:54:23 +00:00

Change slightly fish_prompt

This commit is contained in:
Steffo 2020-08-14 20:00:20 +02:00
parent 403734645e
commit b0cd21052d

View file

@ -16,11 +16,7 @@ function fish_prompt
set_color normal set_color normal
echo -n "@"(prompt_hostname)":" echo -n "@"(prompt_hostname)":"
if string match "/home/*" "$PWD" >/dev/null set_color brblue
set_color brblue
else
set_color --bold ff7f00
end
echo -n (prompt_pwd) echo -n (prompt_pwd)
if test $STATUS -ne 0 if test $STATUS -ne 0
@ -35,7 +31,4 @@ function fish_prompt
end end
end end
set_color normal set_color normal
end end