persistent command history in localStorage