Implement command success: add to history, green prompt