Enable command history using localStorage