update: formatting, cleanup & order

This commit is contained in:
2020-03-07 19:22:06 +01:00
parent 7fa1b99b27
commit ed54b2434a
4 changed files with 13 additions and 53 deletions

View File

@ -54,10 +54,11 @@ function fish_prompt
set t31m_custom (t31m_prompt)
# check if latest cmd resulted in exit code 0 (ok)
if test "$code" = 0
echo -n -s "$t31m_custom"(red)"$symbol"(off)
else
echo -n -s (dim)"$symbol"(off)
echo -n -s "$t31m_custom"(dim)"$symbol"(off)
end
end