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

Content

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