__mdw_setconf __MDW_ROOTLY rootly
BECOME="--preserve-environment"; export BECOME
+## `rsync' configuration.
+RSYNC_PROTECT_ARGS=1; export RSYNC_PROTECT_ARGS
+
## It's useful to see the little sigils in `ls'.
case ${LS_OPTIONS+t} in t) ;; *) LS_OPTIONS="-F"; export LS_OPTIONS; esac
OOO_FORCE_DESKTOP=gnome; export OOO_FORCE_DESKTOP
## Hack Qt-ish things to be unstoatly.
-QT_QPA_PLATFORMTHEME=gtk2; export QT_QPA_PLATFORMTHEME
+##QT_QPA_PLATFORMTHEME=gtk2; export QT_QPA_PLATFORMTHEME
QT_AUTO_SCREEN_SCALE_FACTOR=0; export QT_AUTO_SCREEN_SCALE_FACTOR
## Use X11 input method (including compose key sequences) everywhere.
DEB_BUILD_OPTIONS="parallel=$(mdw-conf make-parallel 4)"
export DEB_BUILD_OPTIONS
+## Turn on useful colouring.
+if __mdw_programp dircolors; then eval $(dircolors -b "$HOME/.dircolors")
+else unset LS_COLORS; fi
+export GREP_COLORS="mt=01;31:ms=01;31:mc=031;31:fn=36:ln=36:bn=36:se=34"
+export DIFF_COLORS="hd=1:ln=36:ad=32:de=31"
+
## Turn off angry fruit salad error messages from things.
DPKG_COLORS=never; export DPKG_COLORS
GCC_COLORS=; export GCC_COLORS