Updated Fish Prompt style / fish right prompt & newline
This commit is contained in:
@ -53,12 +53,12 @@ function fish_prompt
|
||||
end
|
||||
|
||||
set t31m_custom (t31m_prompt)
|
||||
set t31m_custom_right (t31m_prompt_right)
|
||||
|
||||
# check if latest cmd resulted in exit code 0 (ok)
|
||||
if test "$code" = 0
|
||||
echo -n -s "$t31m_custom"(red)"$symbol"(off)
|
||||
echo -e -n -s "$t31m_custom""$t31m_custom_right"(red)"\n$symbol"(off)
|
||||
else
|
||||
echo -n -s "$t31m_custom"(dim)"$symbol"(off)
|
||||
echo -e -n -s "$t31m_custom""$t31m_custom_right"(dim)"\n$symbol"(off)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user