From 221bdad25f014b38f2762cbbe684fa341add6d6c Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Thu, 27 Sep 2018 13:15:52 -0400 Subject: Added persistent history file to main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index 7aaec3a3..56383f66 100755 --- a/main.py +++ b/main.py @@ -7,6 +7,6 @@ if __name__ == '__main__': # Set "use_ipython" to True to include the ipy command if IPython is installed, which supports advanced interactive # debugging of your application via introspection on self. - app = cmd2.Cmd(use_ipython=True) + app = cmd2.Cmd(use_ipython=True, persistent_history_file='cmd2_history.txt') app.locals_in_py = True app.cmdloop() -- cgit v1.2.1