chiark / gitweb /
dot/emacs: Moderate horizontal scrolling; auto-scroll only one line.
[profile] / dot / bashrc
index 18a2d7df897d113c8302fe0638e51d3db6de6fbe..9175064bf14eab0f6c1d39f27d47b7da49c06bd2 100644 (file)
@@ -17,8 +17,8 @@ __mdw_precmd_hook= __mdw_preexec_hook=
 __mdw_running=t
 
 __mdw_run_precmd_hook () {
-  __mdw_running=nil
   __mdw_runhook __mdw_precmd_hook "$@"
+  __mdw_running=nil
 }
 __mdw_run_preexec_hook () {
   case $__mdw_running in
@@ -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\]"