Customize shell to run with prelude-visit-term-buffer
This commit is contained in:
parent
5b0c51d0ed
commit
c35bbaaca3
2 changed files with 6 additions and 1 deletions
|
@ -67,7 +67,7 @@ This variable can be set via .dir-locals.el to provide multi-term support.")
|
||||||
"Create or visit a terminal buffer."
|
"Create or visit a terminal buffer."
|
||||||
(interactive)
|
(interactive)
|
||||||
(prelude-start-or-switch-to (lambda ()
|
(prelude-start-or-switch-to (lambda ()
|
||||||
(ansi-term (getenv "SHELL") (concat prelude-term-buffer-name "-term")))
|
(ansi-term prelude-shell (concat prelude-term-buffer-name "-term")))
|
||||||
(format "*%s-term*" prelude-term-buffer-name)))
|
(format "*%s-term*" prelude-term-buffer-name)))
|
||||||
|
|
||||||
(defun prelude-search (query-url prompt)
|
(defun prelude-search (query-url prompt)
|
||||||
|
|
|
@ -98,6 +98,11 @@ Only modes that don't derive from `prog-mode' should be listed here."
|
||||||
:type 'symbol
|
:type 'symbol
|
||||||
:group 'prelude)
|
:group 'prelude)
|
||||||
|
|
||||||
|
(defcustom prelude-shell (getenv "SHELL")
|
||||||
|
"The default shell to run with `prelude-visit-term-buffer'"
|
||||||
|
:type 'string
|
||||||
|
:group 'prelude)
|
||||||
|
|
||||||
(provide 'prelude-custom)
|
(provide 'prelude-custom)
|
||||||
|
|
||||||
;;; prelude-custom.el ends here
|
;;; prelude-custom.el ends here
|
||||||
|
|
Loading…
Reference in a new issue