---
title: "emacs的shell mode中使用 ansi color"
author: "jedy"
date: "2007-02-15T09:55:00Z"
tags: []
slug: "emacs-shell-mode-ansi-color"
draft: false
lastmod: "2007-02-15T09:55:00Z"
id: 304705
url: "https://jedy.iteye.com/blog/304705"
---

(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)  
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)