summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-10-18 17:10:45 +0200
committerAlan Pearce2015-10-18 17:10:45 +0200
commit2dcf288b2f664bef01cc291d18336129cba3c393 (patch)
treec38b8ebb2f94a274c86e1bc58788953b2306ee07
parent9b0ce6c53ae53474ef80eb8be8857cd45825a227 (diff)
downloaddotfiles-2dcf288b2f664bef01cc291d18336129cba3c393.tar.lz
dotfiles-2dcf288b2f664bef01cc291d18336129cba3c393.tar.zst
dotfiles-2dcf288b2f664bef01cc291d18336129cba3c393.zip
Emacs: Enable colours in comint mode
-rw-r--r--tag-emacs/emacs.d/init.org4
1 files changed, 4 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 1f6b733..d2cd2ee 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -2107,6 +2107,10 @@ Make a shell-script buffer executable after saving it, if it has a shebang.
   :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