feat: change prompt color

This commit is contained in:
buffet 2022-12-20 14:33:53 +01:00
parent 9885671528
commit e51b221ef3

View file

@ -32,7 +32,7 @@ in {
initExtra = ''
__prompt() {
case $? in
0) PS1='; ' ;;
0) PS1='\[\e[34m\]; \[\e[0m\]' ;;
*) PS1='\[\e[31m\]; \[\e[0m\]' ;;
esac
}