set HIST_IGNORE_SPACE
some cleanup