Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # if GIT_PS1_SHOWDIRTYSTATE is set to a nonempty value,
- # unstaged (*) and staged (+) changes will be shown next to the branch name
- export GIT_PS1_SHOWDIRTYSTATE=1
- # if GIT_PS1_SHOWSTASHSTATE is set to a nonempty value,
- # a ‘$’ will be shown next to the branch name if something is stashed
- export GIT_PS1_SHOWSTASHSTATE=1
- # if GIT_PS1_SHOWUNTRACKEDFILES is set to a nonempty value,
- # a ‘%’ will be shown next to the branch name if there’re untracked files
- export GIT_PS1_SHOWUNTRACKEDFILES=1
- # my fancy non disturbing prompt, listing the current git branch
- export PS1='\[\033[37m\]\h\[\033[00m\]:\w\[\033[1;33m\]$(__git_ps1 "@%s")\[\033[00m\]$ '
Add Comment
Please, Sign In to add comment