bash: ps1
This commit is contained in:
parent
6b1b9e8e6f
commit
04581e836b
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
|||
# * unstaged
|
||||
# + staged
|
||||
# $ stashed
|
||||
# % untracked
|
||||
export GIT_PS1_SHOWUNTRACKEDFILES=1
|
||||
export GIT_PS1_SHOWDIRTYSTATE=1
|
||||
export GIT_PS1_SHOWSTASHSTATE=1
|
||||
export PS1='\e[34m\u@\e[34m\h \e[37m\A \e[94m\w\e[33m$(__git_ps1) \e[94m\n> \e[39m'
|
||||
|
|
Loading…
Reference in a new issue