Protect prompt in comint-mode

This commit is contained in:
Diego Berrocal 2015-11-27 18:19:42 -05:00 committed by Eivind Fonn
parent d99259bcd5
commit 07e5a0ca9d

View file

@ -15,6 +15,7 @@
company
helm
multi-term
(comint :location built-in)
shell
shell-pop
term
@ -207,6 +208,12 @@ is achieved by adding the relevant text properties."
(projectile-with-default-dir (projectile-project-root) (multi-term)))
(spacemacs/set-leader-keys "p$t" 'projectile-multi-term-in-root)))))
(defun shell/init-comint ()
(use-package comint
:defer t
:init
(setq comint-prompt-read-only t)))
(defun shell/init-shell ()
(defun shell-comint-input-sender-hook ()
"Check certain shell commands.