chiark / gitweb /
dot/bashrc: Fix forcing history-expansion on.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 2 May 2018 12:42:12 +0000 (13:42 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 11 May 2018 19:37:21 +0000 (20:37 +0100)
It's done through `set -o' instead of `shopt' and these are different
because... umm...

At least zsh gets this right.

dot/bashrc

index f774607efafd83a70bdb66608d4121d6aad9879f..5f9742a0eb1ea76b407ef24d38da5618f054ad27 100644 (file)
@@ -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