<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,7 +11,7 @@ EOF
 
 precmd  () { 
   case ${TERM} in
-    xterm*|rxvt*)
+    *xterm*|rxvt*|ansi)
       # Set term title to &quot;user@host:cwd&quot;
       print -Pn &quot;\e]0;${PR_TITLEBAR:q}\a&quot;
     ;;
@@ -23,7 +23,7 @@ precmd  () {
   
   [[ -z &quot;${OLD_RPROMPT}&quot; ]] &amp;&amp; OLD_RPROMPT=$RPROMPT
   
-  GIT_BRANCH=$(git branch --no-color 2&gt;/dev/null | noglob grep &quot;\*&quot; | cut -d&quot; &quot; -f2)
+  GIT_BRANCH=&quot;$(git branch --no-color 2&gt;/dev/null | noglob grep &quot;\*&quot; | cut -d&quot; &quot; -f2-)&quot;
   if [[ -n &quot;${GIT_BRANCH}&quot; ]]; then
     RPROMPT=&quot;%{$fg_bold[red]%}${GIT_BRANCH} %{$reset_color%}${OLD_RPROMPT}&quot;
   else
@@ -90,24 +90,4 @@ prompt_borior_setup () {
 
 }
 
-# do_git_rprompt () {
-#   
-#   typeset -A $PROMPT_BORIOR
-#   typeset -A $PROMPT_BORIOR_COLOURS
-#   
-#   for k in ${(k)PROMPT_BORIOR_COLOURS}; do
-#     local &quot;pbc_$k&quot;=$PROMPT_BORIOR_COLOURS[$k]
-#   done
-# 
-#   for k in ${(k)PROMPT_BORIOR}; do
-#      local &quot;pb_$k&quot;=$PROMPT_BORIOR[$k]
-#    done    
-#   
-#   if [[ -n ${git_branch} ]]; then
-#     RPROMPT=&quot; $pbc_rprompt($pbc_exit_code) %T$pbc_reset&quot;
-#   else
-#     RPROMPT=&quot;$pbc_rprompt($pbc_exit_code) %T$pbc_reset&quot;
-#   fi
-# }
-
 prompt_borior_setup &quot;$@&quot;</diff>
      <filename>funcs/prompt_borior_setup</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>edb18c410ae346e2dc1cce6ebaf7a3f71f2d1437</id>
    </parent>
  </parents>
  <author>
    <name>Nick Stenning</name>
    <email>nick@whiteink.com</email>
  </author>
  <url>http://github.com/nickstenning/zsh/commit/68dfea7c585d36f2d9a63670b963edaecc17df0e</url>
  <id>68dfea7c585d36f2d9a63670b963edaecc17df0e</id>
  <committed-date>2009-04-12T09:12:38-07:00</committed-date>
  <authored-date>2009-04-12T09:12:38-07:00</authored-date>
  <message>Fix for branch names with whitespace in.</message>
  <tree>8f49b932da98218c341a1b5c00424442caa898e2</tree>
  <committer>
    <name>Nick Stenning</name>
    <email>nick@whiteink.com</email>
  </committer>
</commit>
