fix paranthesis
This commit is contained in:
parent
2656558774
commit
0fa072f766
1 changed files with 1 additions and 1 deletions
2
PS1
2
PS1
|
@ -5,7 +5,7 @@ parse_git_branch() {
|
||||||
local RBRANCH="$( git rev-parse --symbolic-full-name --abbrev-ref @{u} 2>/dev/null |sed -e 's/^[[:blank:]]*//' )"
|
local RBRANCH="$( git rev-parse --symbolic-full-name --abbrev-ref @{u} 2>/dev/null |sed -e 's/^[[:blank:]]*//' )"
|
||||||
[ -z "${RBRANCH-x}" ] && unset RBRANCH
|
[ -z "${RBRANCH-x}" ] && unset RBRANCH
|
||||||
local BRANCH="${LBRANCH}${RBRANCH+ -> }${RBRANCH}"
|
local BRANCH="${LBRANCH}${RBRANCH+ -> }${RBRANCH}"
|
||||||
[ -z "${LBRANCH+x}" ] || echo "($BRANCH)"
|
[ -z "${BRANCH-x}" ] || echo "($BRANCH)"
|
||||||
}
|
}
|
||||||
|
|
||||||
set_label() {
|
set_label() {
|
||||||
|
|
Loading…
Reference in a new issue