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