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
/
zshrc
diff --git
a/dot/zshrc
b/dot/zshrc
index d56fde2663b80f4ebb0e51a70e6d70cf11b0db5b..3466d6c3a61f7412b39a26e39e35b366a820357e 100644
(file)
--- a/
dot/zshrc
+++ b/
dot/zshrc
@@
-48,7
+48,7
@@
__mdw_set_prompt_hacks () {
case $TERM in
linux*|screen*|xterm*|putty*|vt100*|eterm*)
bold=%B unbold=%b
- gitcolour=%F{cyan} rccolour=%F{red} uncolour=%f
+ gitcolour=%F{cyan}
extracolour=%F{yellow}
rccolour=%F{red} uncolour=%f
;;
esac
host=%m dir=" %(6~!%-1~/.../%4~!%~)"