mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
crude git status report in prompt
This commit is contained in:
parent
e4e993f605
commit
f120da9135
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ __set_prompt() {
|
|||
PS1+=" ${Y}${GIT_PS1_NAME}"
|
||||
PS1+="${UC}›${B}${GIT_PS1_BRANCH}"
|
||||
PS1+="${UC}›${G}${GIT_PS1_PREFIX}"
|
||||
PS1+=" ${UC}(${GIT_PS1_STATUS})"
|
||||
else
|
||||
PS1+=" ${G}$(__tpwd)"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue