[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Colors for M-x shell

From: Andreas Röhler
Subject: Re: Colors for M-x shell
Date: Mon, 25 Aug 2014 12:43:33 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.7.0

On 22.08.2014 23:34, Sebastien Vauban wrote:

I'd like to change the color for the directories, executables, etc for
the shell mode.

Though, I don't see (for example) where the "bold blue2" gets defined
for the directories.


Can you give me a hint?

Best regards,

PS- It'd be great to have just one definition that'd be used for both
Shell mode and the highlighting of the completions (when pressing
`C-x d TAB TAB') when one does have:

--8<---------------cut here---------------start------------->8---
   ;; provide the same facility of `ls --color' inside Emacs
   (autoload 'dircolors "dircolors" nil t)
   (add-hook 'completion-list-mode-hook 'dircolors))
--8<---------------cut here---------------end--------------->8---

Extending shell-font-lock-keywords, defined in shell.el, should work.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]