updated fish prompt a little

This commit is contained in:
Inkletblot 2021-02-25 20:03:58 +10:30
parent 856db4cc73
commit 19d934b3f4

View File

@ -86,14 +86,14 @@ function fish_prompt
set -g whitespace ' ' set -g whitespace ' '
if test $last_status = 0 if test $last_status = 0
set initial_indicator "$green*" set initial_indicator "$green@"
set status_indicator "$green>" set status_indicator "$green-:"
else else
set initial_indicator "$red x $last_status" set initial_indicator "$red $last_status x"
set status_indicator "$red>" set status_indicator "$red:-"
end end
set -l cwd $green(hostname) " > " $cyan(pwd) set -l cwd $green(hostname) " -> " $cyan(pwd)
# set -l cwd $cyan(pwd) # set -l cwd $cyan(pwd)