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:
parent
403734645e
commit
b0cd21052d
1 changed files with 1 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue