From 3291c30267807b94e01160c5e6c76419b3fef7f2 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 13 Sep 2016 13:19:09 -0400 Subject: [PATCH] Fix for new versions of ipython --- .emacs.d/init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e20a8fc..7a3a684 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -80,8 +80,10 @@ (use-package python :defer :config - (if (executable-find "ipython") - (setq python-shell-interpreter "ipython"))) + (when (executable-find "ipython") + (setq python-shell-interpreter "ipython") + (setq python-shell-interpreter-args "-i --simple-prompt") + (add-to-list 'python-shell-completion-native-disabled-interpreters "ipython"))) (use-package tramp :defer