promp should send the past command