summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-09-05 17:16:29 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-09-05 17:16:30 +0200
commite8e16dc19a11b0c96080ae31a5a34d1e741644cf (patch)
tree6815a5458156e6c63633b3e4f76e1bb7f9077cf5 /.config
parent9740f89ad3d868ed006e1d4e074592a37da2235e (diff)
downloaddotfiles-e8e16dc19a11b0c96080ae31a5a34d1e741644cf.tar.gz
dotfiles-e8e16dc19a11b0c96080ae31a5a34d1e741644cf.tar.bz2
dotfiles-e8e16dc19a11b0c96080ae31a5a34d1e741644cf.zip
IPython config
Diffstat (limited to '.config')
-rw-r--r--.config/ipython/profile_default/ipython_config.py20
1 files changed, 20 insertions, 0 deletions
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
+