all repos — archive/dotfiles @ 2dcf288b2f664bef01cc291d18336129cba3c393

Superseded by nixfiles

Emacs: Enable colours in comint mode
Alan Pearce alan@alanpearce.co.uk
Sun, 18 Oct 2015 17:10:45 +0200
commit

2dcf288b2f664bef01cc291d18336129cba3c393

parent

9b0ce6c53ae53474ef80eb8be8857cd45825a227

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -2107,6 +2107,10 @@ :mode (("\\.zsh\\'" . shell-script-mode))   :config (setq sh-shell-file "/usr/bin/env zsh"))
 #+END_SRC
 
+#+BEGIN_SRC emacs-lisp
+  (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
+#+END_SRC
+
 ** eshell
 
 I should try to get into the habit of using this more.  It’s really