ad58e5fca928

Add the task count into the prompt.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 26 Aug 2009 21:28:26 -0400
parents 4abab49bf2bb
children 952c6c49a91e
branches/tags (none)
files .bashrc

Changes

--- a/.bashrc	Wed Aug 26 21:27:26 2009 -0400
+++ b/.bashrc	Wed Aug 26 21:28:26 2009 -0400
@@ -70,7 +70,7 @@
 render_ps1() {
   echo "\n\
 ${PINK}\u ${D}at ${ORANGE}\h ${D}in ${GREEN}\w$(hg_ps1)${D}\n\
-$([ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') ' )$ "
+[$(tasks_ps1)] $([ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') ' )$ "
 }
 
 PROMPT_COMMAND="$(echo "$PROMPT_COMMAND"|sed -e's/PS1="`render_ps1`";//g')"