if command already in history just jump to end of program