From e8e16dc19a11b0c96080ae31a5a34d1e741644cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Thu, 5 Sep 2013 17:16:29 +0200 Subject: IPython config --- .config/ipython/profile_default/ipython_config.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .config/ipython/profile_default/ipython_config.py (limited to '.config') diff --git a/.config/ipython/profile_default/ipython_config.py b/.config/ipython/profile_default/ipython_config.py new file mode 100644 index 0000000..13fc9c4 --- /dev/null +++ b/.config/ipython/profile_default/ipython_config.py @@ -0,0 +1,20 @@ +# Configuration file for ipython. + +c = get_config() + +# No newlines inbetween lines. +c.TerminalInteractiveShell.separate_in = '' + +# Make IPython automatically call any callable object even if you didn't type +# explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically. +# The value can be '0' to disable the feature, '1' for 'smart' autocall, where +# it is not applied if there are no more arguments on the line, and '2' for +# 'full' autocall, where all callable objects are automatically called (even if +# no arguments are present). +c.TerminalInteractiveShell.autocall = 1 + +# Set to confirm when you try to exit IPython with an EOF (Control-D in Unix, +# Control-Z/Enter in Windows). By typing 'exit' or 'quit', you can force a +# direct exit without any confirmation. +c.TerminalInteractiveShell.confirm_exit = False + -- cgit v1.2.3