From: Mark Wooding Date: Wed, 2 May 2018 12:42:12 +0000 (+0100) Subject: dot/bashrc: Fix forcing history-expansion on. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/92e4caa821f2804e7aa04ee138637bf1f230b397 dot/bashrc: Fix forcing history-expansion on. It's done through `set -o' instead of `shopt' and these are different because... umm... At least zsh gets this right. --- diff --git a/dot/bashrc b/dot/bashrc index f774607..5f9742a 100644 --- a/dot/bashrc +++ b/dot/bashrc @@ -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