summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs/site-lisp/oni.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/site-lisp/oni.el b/emacs/site-lisp/oni.el
index 9ff1ee4..027463b 100644
--- a/emacs/site-lisp/oni.el
+++ b/emacs/site-lisp/oni.el
@@ -373,7 +373,7 @@ When dealing with braces, add another line and indent that too."
(let ((buffer (get-buffer "*ansi-term*")))
(if (and buffer (not arg))
(switch-to-buffer buffer)
- (call-interactively 'ansi-term))))
+ (ansi-term (getenv "SHELL")))))
(defun oni:raise-scratch (&optional mode)
"Show the *scratch* buffer.