# HG changeset patch # User Steve Losh # Date 1248331490 14400 # Node ID f7c37ac02f51d1676eeb04aaee04d3e9ff2cff9a # Parent 8a98384e2659635e43e657af33142759c9b83cb4 Use the {update} keyword from hg-prompt. diff -r 8a98384e2659 -r f7c37ac02f51 .bashrc --- a/.bashrc Thu Jul 16 03:26:52 2009 -0400 +++ b/.bashrc Thu Jul 23 02:44:50 2009 -0400 @@ -44,7 +44,7 @@ ORANGE=$'\e[33;40m' hg_ps1() { - hg prompt "{${D} on ${PINK}{branch}}{${D} at ${ORANGE}{bookmark}}{${GREEN}{status}}" 2> /dev/null + hg prompt "{${D} on ${PINK}{branch}}{${D} at ${ORANGE}{bookmark}}{${GREEN}{status}}{${GREEN}{update}}" 2> /dev/null } export PS1='\n${PINK}\u ${D}at ${ORANGE}\h ${D}in ${GREEN}\w$(hg_ps1)\