Add command history stack for ack command