minor changes
This commit is contained in:
parent
c638648d94
commit
4f051a809e
1 changed files with 12 additions and 0 deletions
|
@ -2,3 +2,15 @@
|
||||||
function tools
|
function tools
|
||||||
echo $TOOLBOX
|
echo $TOOLBOX
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function fish_prompt
|
||||||
|
set -l last_status $status
|
||||||
|
set -l status_symbol (if test $last_status -eq 0
|
||||||
|
echo -n '[ ](fg:#53e67a)'
|
||||||
|
else
|
||||||
|
echo -n '[ ](fg:#d22863)'
|
||||||
|
end)
|
||||||
|
|
||||||
|
echo -n (set_color normal)
|
||||||
|
printf "%s%s " $status_symbol (starship prompt)
|
||||||
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue