dot/shell-rc, etc.: Introduce an easily user-definable prompt section.
[profile] / dot / zshrc
index 7a0824a..3466d6c 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~!%~)"
@@ -185,6 +185,7 @@ unsetopt nomatch
 unsetopt menu_complete
 setopt notify
 setopt rc_expand_param
+setopt rc_quotes
 setopt share_history
 
 hash -d t=$TMPDIR