From cd98bc330fc2aa397517ded41e5ee67d83af861d 2011-07-13 18:45:53 From: MinRK Date: 2011-07-13 18:45:53 Subject: [PATCH] add '--quick' to irunner args, to prevent loading default config --- diff --git a/IPython/lib/irunner.py b/IPython/lib/irunner.py index e90edfc..cf74627 100755 --- a/IPython/lib/irunner.py +++ b/IPython/lib/irunner.py @@ -303,10 +303,11 @@ class IPythonRunner(InteractiveRunner): def __init__(self,program = 'ipython',args=None,out=sys.stdout,echo=True): """New runner, optionally passing the ipython command to use.""" - args0 = ['--colors=NoColor', '--no-term-title', - '--no-autoindent'] + '--no-autoindent', + # '--quick' is important, to prevent loading default config: + '--quick'] if args is None: args = args0 else: args = args0 + args prompts = [r'In \[\d+\]: ',r' \.*: ']