X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rc%2Ffunctions;h=89bfb9f4ee3c2113ab5d2c707943182453e61bda;hb=b67cc376baea9aa812895dc70cc019fad8168180;hp=c27274bfca82f05808d094b91ced22095fea0175;hpb=1d922ee420e3465e6a129aafb19ae20f2609dcde;p=clearscm.git diff --git a/rc/functions b/rc/functions index c27274b..89bfb9f 100644 --- a/rc/functions +++ b/rc/functions @@ -55,7 +55,7 @@ function title_bar { # Add GIT info if available if in_git_repo; then - current_dir="git: $(git branch | sed -n -e 's/^\* \(.*\)/\1/p') $current_dir" + current_dir="$current_dir [git: $(git branch | sed -n -e 's/^\* \(.*\)/\1/p')]" fi if [ "$TERM" = "hpterm" -o \