unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* customizing dircolors doesn't take effect in emacs shell
@ 2012-01-07 21:28 Yuan Luo
  2012-01-08  0:12 ` Peter Dyballa
  0 siblings, 1 reply; 10+ messages in thread
From: Yuan Luo @ 2012-01-07 21:28 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

Hi,
So I have the following setting for dircolors in my ~/.bashrc. With my
customized ~/.dircolors file, a regular terminal shows the desired colors
upon ls in the shell. However, within the shell of emacs, it still shows
the default colors upon ls. This happens in emacs23, what am I missing?

if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval
"$(dircolors -b)"
    alias ls='ls --color=auto'
fi

Thanks,
Yuan

[-- Attachment #2: Type: text/html, Size: 540 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-01-15 22:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-07 21:28 customizing dircolors doesn't take effect in emacs shell Yuan Luo
2012-01-08  0:12 ` Peter Dyballa
2012-01-08  0:36   ` Yuan Luo
2012-01-08 10:50     ` Peter Dyballa
2012-01-09  1:05       ` Yuan Luo
2012-01-09  9:53         ` Peter Dyballa
2012-01-09 16:43           ` Yuan Luo
2012-01-09 16:48             ` Yuan Luo
2012-01-09 20:56             ` Peter Dyballa
2012-01-15 22:34               ` Yuan Luo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).