adding option to ignore commands with whitespace from history