X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/5e06367fbf2f35302c42dd9d69802aa52f9391ec..92e4caa821f2804e7aa04ee138637bf1f230b397:/dot/bashrc diff --git a/dot/bashrc b/dot/bashrc index 28d9bf9..5f9742a 100644 --- a/dot/bashrc +++ b/dot/bashrc @@ -6,9 +6,9 @@ __mdw_shell=bash ## Only do this if we haven't done it before. (Note that this guard isn't ## exported, so subshells will need to make their own arrangements.) -case ${__mdw_shellrc+t} in +case ${__mdw_bashrc+t} in t) ;; - *) __mdw_shellrc=done + *) __mdw_bashrc=t ## Fetch the common configuration. . "$HOME/.shell-rc" @@ -72,6 +72,7 @@ shopt -s extglob if (( ${BASH_VERSINFO[0]} >= 4 )); then shopt -s globstar; fi shopt -s gnu_errfmt shopt -s histappend +set -o histexpand shopt -s histreedit shopt -u histverify shopt -s hostcomplete