--- /dev/null
+### -*-sh-*-
+
+## Fetch the common configuration.
+. "$HOME/.shell-rc"
+
+###--------------------------------------------------------------------------
+### Prompt hacking.
+
+__mdw_set_prompt_hacks () {
+ case "$TERM" in
+ linux*|screen*|xterm*|vt100*|eterm*)
+ case "$(tput bold)" in
+ "") bold="$(tput md)" unbold="$(tput me)" ;;
+ *) bold="$(tput bold)" unbold="$(tput sgr0)" ;;
+ esac
+ ;;
+ esac
+ host=$(hostname)
+ dir=""
+}
+
+__mdw_set_prompt_pieces
+__mdw_set_prompt