Remove buggy cmdhistory