mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
lazier git info
This commit is contained in:
parent
94be104bc9
commit
b6c2437ed3
4 changed files with 20 additions and 5 deletions
|
|
@ -127,6 +127,7 @@ prompt_dir() {
|
|||
}
|
||||
|
||||
prompt_git() {
|
||||
__git_ps1_vars
|
||||
if [[ -n $GIT_PS1_STATUS ]]; then
|
||||
PROMPT_VCS_TYPE='git'
|
||||
PROMPT_VCS_REF="$GIT_PS1_BRANCH"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue