Add history builtin command and printing