| git.druid.rocks | index | druid520 | radium | radium-shell.el |
radium-shell.el
;;; radium-shell.el, eshell/shell/term, posix sh as the default shell -*- lexical-binding: t; -*-
(setq shell-file-name "/bin/sh"
explicit-shell-file-name "/bin/sh"
shell-command-switch "-c")
(require 'eshell)
(setq eshell-scroll-to-bottom-on-input t
eshell-history-size 5000
eshell-hist-ignoredups t)
(require 'term)
(global-set-key (kbd "C-c s e") #'eshell)
(global-set-key (kbd "C-c s s") (lambda () (interactive) (shell)))
(global-set-key (kbd "C-c s t") (lambda () (interactive) (ansi-term "/bin/sh")))
(provide 'radium-shell)