Hi Pete,
Thanks for your quick reply, I linked ~/.emacs_bash to ~/.bashrc but the default color is still not changed. I read more about ~/.emacs_bash, it seems to me emacs sends the content from this file to the interactive shell upon starting. However, if I directly type "dircolors -b ~/.dircolors" in emacs interactive shell, I got the following result:
LS_COLORS='';
export LS_COLORS
where as the same command typed in a regular system shell would yield the desired LS_COLORS.
What could be the problem here?
Thanks,
Yuan
Am 7.1.2012 um 22:28 schrieb Yuan Luo:
Put the useful shell aliases also in ~/.emacs_bash – this file is read in by the bash running in a *shell* buffer. (~/.emacs_bash can also be linked with ~/.bashrc. Maybe it's possible to customise the bash that it reads in ~/.bashrc.)
> This happens in emacs23, what am I missing?
--
Greetings
Pete
The future will be much better tomorrow.
– George W. Bush