fix shell history settings