chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dot/shell-rc, etc.: Introduce an easily user-definable prompt section.
[profile]
/
dot
/
bashrc
diff --git
a/dot/bashrc
b/dot/bashrc
index f65575660cf462e79d07ae05703bd7f4b42e61b8..9175064bf14eab0f6c1d39f27d47b7da49c06bd2 100644
(file)
--- a/
dot/bashrc
+++ b/
dot/bashrc
@@
-62,6
+62,7
@@
__mdw_set_prompt_hacks () {
*) bold="\[$(tput bold)\]" unbold="\[$(tput sgr0)\]" ;;
esac
gitcolour="\[$(tput setaf 6)\]"
+ extracolour="\[$(tput setaf 3)\]"
rccolour="\[$(tput setaf 1)\]"
uncolour="\[$(tput op)\]"
nl="\[
\r
\]"