customizing dircolors doesn't take effect in emacs shell
From:
Yuan Luo
Subject:
customizing dircolors doesn't take effect in emacs shell
Date:
Sat, 7 Jan 2012 16:28:48 -0500
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