Browse Source

Merge pull request #911 from bkruczyk/customize-default-shell

Customize shell to run with prelude-visit-term-buffer
custom
Bozhidar Batsov 10 years ago
parent
commit
05dc795f2b
  1. 2
      core/prelude-core.el
  2. 5
      core/prelude-custom.el

2
core/prelude-core.el

@ -67,7 +67,7 @@ This variable can be set via .dir-locals.el to provide multi-term support.")
"Create or visit a terminal buffer."
(interactive)
(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)))
(defun prelude-search (query-url prompt)

5
core/prelude-custom.el

@ -98,6 +98,11 @@ Only modes that don't derive from `prog-mode' should be listed here."
:type 'symbol
:group 'prelude)
(defcustom prelude-shell (getenv "SHELL")
"The default shell to run with `prelude-visit-term-buffer'"
:type 'string
:group 'prelude)
(provide 'prelude-custom)
;;; prelude-custom.el ends here
Loading…
Cancel
Save