diff --git a/IPython/frontend/terminal/embed.py b/IPython/frontend/terminal/embed.py index 81674bdc10d..2c33e4d7b4f 100755 --- a/IPython/frontend/terminal/embed.py +++ b/IPython/frontend/terminal/embed.py @@ -240,6 +240,7 @@ def embed(**kwargs): if config is None: config = load_default_config() config.InteractiveShellEmbed = config.TerminalInteractiveShell + kwargs['config'] = config global _embedded_shell if _embedded_shell is None: _embedded_shell = InteractiveShellEmbed(**kwargs)