diff -r ca9bfec974ac -r 5fd2e01bf582 .emacs-my --- a/.emacs-my Wed Dec 02 23:41:53 2015 +0200 +++ b/.emacs-my Thu Dec 10 12:08:31 2015 +0200 @@ -489,6 +489,14 @@ (ansi-color-for-comint-mode-on) +(defun my-ansi-color (&optional beg end) + "Interpret ANSI color esacape sequence by colorifying cotent." + (interactive + (if (use-region-p) + (list (region-beginning) (region-end)) + (list (point-min) (point-max)))) + (ansi-color-apply-on-region beg end)) + (setq explicit-bash-args '("-i")) (setq explicit-sh-args '("-i"))