Add history command for ignoring spaces.