the last command shall not be added to the history stack