Add the books alias and use tags for hgprompt.
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 10 Sep 2009 19:11:30 -0400 |
parents |
0d8d12f2e36b
|
children |
651e8ecd2b42
|
branches/tags |
(none) |
files |
.bashrc |
Changes
--- 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"