prelude-visit-term-buffer now obeys user's $SHELL

This commit is contained in:
David Browne 2012-06-16 00:15:09 -06:00
parent 59f26f63f6
commit a08b40aa93

View file

@ -63,7 +63,7 @@ file of a buffer in an external program."
(defun prelude-visit-term-buffer ()
(interactive)
(if (not (get-buffer "*ansi-term*"))
(ansi-term "/bin/bash")
(ansi-term (getenv "SHELL"))
(switch-to-buffer "*ansi-term*")))
(defun prelude-google ()