diff --git a/PS1 b/PS1 index 075f263..095e0bd 100644 --- a/PS1 +++ b/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:]]*//' )" [ -z "${RBRANCH-x}" ] && unset RBRANCH local BRANCH="${LBRANCH}${RBRANCH+ -> }${RBRANCH}" - [ -z "${BRANCH-x}" ] || echo "($BRANCH)|tr -s '()'" + [ -z "${BRANCH-x}" ] || echo "($BRANCH)"|tr -s '()' } set_label() {