better history management via shopt config