Don't duplicate commands in history