git: ps1
This commit is contained in:
parent
5716671534
commit
457407943a
1 changed files with 0 additions and 1 deletions
|
@ -30,7 +30,6 @@ ORANGE='\[\e[0;33m\]'
|
||||||
export GIT_PS1_SHOWUNTRACKEDFILES=1
|
export GIT_PS1_SHOWUNTRACKEDFILES=1
|
||||||
export GIT_PS1_SHOWDIRTYSTATE=1
|
export GIT_PS1_SHOWDIRTYSTATE=1
|
||||||
export GIT_PS1_SHOWSTASHSTATE=1
|
export GIT_PS1_SHOWSTASHSTATE=1
|
||||||
export GIT_PS1_SHOWUPSTREAM="verbose"
|
|
||||||
export GIT_PS1_SHOWCONFLICTSTATE="yes"
|
export GIT_PS1_SHOWCONFLICTSTATE="yes"
|
||||||
export PS1="\n${BLUE}\u${GREEN}@${ORANGE}\$(cat /etc/hostname) \$(pwd | sed -E -e "s#/#${RED}/${RESET}${GREEN}#g")${YELLOW}\$(__git_ps1)${RESET}\n> "
|
export PS1="\n${BLUE}\u${GREEN}@${ORANGE}\$(cat /etc/hostname) \$(pwd | sed -E -e "s#/#${RED}/${RESET}${GREEN}#g")${YELLOW}\$(__git_ps1)${RESET}\n> "
|
||||||
# https://unix.stackexchange.com/questions/105958/terminal-prompt-not-wrapping-correctly
|
# https://unix.stackexchange.com/questions/105958/terminal-prompt-not-wrapping-correctly
|
||||||
|
|
Loading…
Reference in a new issue