Adjust some spacing and formatting.
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 21 Aug 2009 17:40:48 -0400 |
parents |
8d48478fb2bc
|
children |
31f1738d6406
|
branches/tags |
(none) |
files |
.bashrc |
Changes
--- a/.bashrc Fri Aug 21 17:23:34 2009 -0400
+++ b/.bashrc Fri Aug 21 17:40:48 2009 -0400
@@ -54,11 +54,14 @@
ORANGE=$'\[\e[33;40m\]'
hg_ps1() {
- hg prompt "{${D} on ${PINK}{branch}}{${D} at ${ORANGE}{bookmark}}{${GREEN}{status}}{${GREEN}{update}}" 2> /dev/null
+ hg prompt "\
+{${D} on ${PINK}{branch}}\
+{${D} at ${ORANGE}{bookmark}}\
+{${GREEN}{status}}{${GREEN}{update}}" 2> /dev/null
}
render_ps1() {
- echo "\n${PINK}\u ${D}at ${ORANGE}\h ${D}in ${GREEN}\w$(hg_ps1)${D}\n$ "
+ echo "\n${PINK}\u ${D}at ${ORANGE}\h ${D}in ${GREEN}\w$(hg_ps1)${D}\n$ "
}
PROMPT_COMMAND='PS1="`render_ps1`"'"; $PROMPT_COMMAND"
\ No newline at end of file