unified appearance of bash and zsh prompt

This commit is contained in:
Nachuan Tang
2022-07-25 16:22:54 -04:00
parent 05b969cc74
commit 9f4dbbe2f9
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# display git status
export GIT_PS1_SHOWDIRTYSTATE=1
export PS1='\[\e[0;32m\]\w\[\e[01;31m\]$(__git_ps1 " (%s)")\[\e[00m\]$ '
export PS1=' \[\e[0;32m\]\w\[\e[01;31m\]$(__git_ps1 "(%s)")\[\e[00m\]$ '