diff options
-rw-r--r-- | .bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -97,7 +97,7 @@ prompt_command_notitle () { local fullbranch="$(cat .git/HEAD 2>/dev/null)" if [ "$fullbranch" = "" ]; then - local fullbranch="$(git symbolic-ref HEAD 2>/dev/null)" + local fullbranch="ref: $(git symbolic-ref HEAD 2>/dev/null)" fi local branch="${fullbranch#ref: refs/heads/}" vcsinfo="${branch:+#$branch}" |