__mdw_set_prompt_hacks () {
case "$TERM" in
- linux*|screen*|xterm*|vt100*|eterm*)
+ linux*|screen*|xterm*|putty*|vt100*|eterm*)
case "$(tput bold)" in
"") bold="\[$(tput md)\]" unbold="\[$(tput me)\]" ;;
*) bold="\[$(tput bold)\]" unbold="\[$(tput sgr0)\]" ;;
gitcolour="\[$(tput setaf 6)\]"
rccolour="\[$(tput setaf 1)\]"
uncolour="\[$(tput op)\]"
- nl="\[\r\]"
+ nl="\[
+\]"
;;
esac
host='\h' dir=' \w'