If you also want Ctrl-D
to exit without confirmation, in IPython 0.11, add c.TerminalInteractiveShell.confirm_exit = False
to your config file *.
If you don’t have a config file yet, run ipython profile create
to create one.
Note this ticket if you’re working within the Django shell.
* The config file is located at: $HOME/.ipython/profile_default/ipython_config.py