help-gnu-emacs
[Top][All Lists]
Advanced

[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:
Hello,

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.

See http://screencast.com/t/y4hUcRquPec.

Can you give me a hint?

Best regards,
   Seb

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.

Andreas



reply via email to

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