commands to set history sanely