feat: change prompt color
This commit is contained in:
parent
9885671528
commit
e51b221ef3
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ in {
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
__prompt() {
|
__prompt() {
|
||||||
case $? in
|
case $? in
|
||||||
0) PS1='; ' ;;
|
0) PS1='\[\e[34m\]; \[\e[0m\]' ;;
|
||||||
*) PS1='\[\e[31m\]; \[\e[0m\]' ;;
|
*) PS1='\[\e[31m\]; \[\e[0m\]' ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue