Disable IPython's "Do you really want to exit ([y]/n)?" confirmation

Disable ipython's exit confirmation. Create an ipython profile.

$ ipython profile create

Change TerminalInteractiveShell.confirm_exit to False.

$ vim ~/.ipython/profile_default/ipython_config.py
c.TerminalInteractiveShell.confirm_exit = False
This post is available on GitHub.
Posted .

Comments

Leave a Reply