# HG changeset patch # User Steve Losh # Date 1252624290 14400 # Node ID cf51f4cfaddccef27b0c6cae49de863bc9f1d63f # Parent 0d8d12f2e36b7f7d5776533fcec2cf893d8b8cb2 Add the books alias and use tags for hgprompt. diff -r 0d8d12f2e36b -r cf51f4cfaddc .bashrc --- a/.bashrc Mon Aug 31 22:03:06 2009 -0400 +++ b/.bashrc Thu Sep 10 19:11:30 2009 -0400 @@ -37,6 +37,7 @@ alias t='~/src/t/t.py --task-dir="~/tasks"' alias m='~/src/t/t.py --task-dir="~/tasks" --list=music' alias g='~/src/t/t.py --task-dir="~/tasks" --list=groceries' +alias k='~/src/t/t.py --task-dir="~/tasks" --list=books' alias p='~/src/t/t.py --task-dir="~/tasks" --list=pack' alias b='~/src/t/t.py --list=bugs' @@ -74,7 +75,7 @@ hg_ps1() { hg prompt "\ {${D} on ${PINK}{branch}}\ -{${D} at ${ORANGE}{bookmark}}\ +{${D} at ${ORANGE}{tags|${D}, ${ORANGE}}}\ {${GREEN}{status}}{${GREEN}{update}}" 2> /dev/null } @@ -89,4 +90,4 @@ } PROMPT_COMMAND="$(echo "$PROMPT_COMMAND"|sed -e's/PS1="`render_ps1`";//g')" -PROMPT_COMMAND='PS1="`render_ps1`";'"$PROMPT_COMMAND" \ No newline at end of file +PROMPT_COMMAND='PS1="`render_ps1`";'"$PROMPT_COMMAND"