Merge branch 'master' of defaria.com:/opt/git/clearscm
[clearscm.git] / rc / functions
index c27274b..89bfb9f 100644 (file)
@@ -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 \