make sure empty lines are not stored in command history