X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/77dbf0e697f41fa43fbe29152510c6fada023809..3a268ef9420b3076b493182bcb4e2fb767b582a1:/dot/bashrc diff --git a/dot/bashrc b/dot/bashrc index f774607..3053c66 100644 --- a/dot/bashrc +++ b/dot/bashrc @@ -27,7 +27,7 @@ __mdw_source_if_exists /etc/bash_completion "$HOME/.bash_completion" __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)\]" ;; @@ -72,7 +72,7 @@ shopt -s extglob if (( ${BASH_VERSINFO[0]} >= 4 )); then shopt -s globstar; fi shopt -s gnu_errfmt shopt -s histappend -shopt -s histexpand +set -o histexpand shopt -s histreedit shopt -u histverify shopt -s hostcomplete