all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuan Luo <yuan.hypnos.luo@gmail.com>
To: Peter Dyballa <Peter_Dyballa@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: customizing dircolors doesn't take effect in emacs shell
Date: Sat, 7 Jan 2012 19:36:00 -0500	[thread overview]
Message-ID: <CAMY509kbOzcMsaVv=t259OhPhKtjEsT=hSh1TPr8YFp7ZY4c6g@mail.gmail.com> (raw)
In-Reply-To: <CA86C455-F13F-4656-98A0-C1FE99FCD827@Web.DE>

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

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

On Sat, Jan 7, 2012 at 7:12 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:

>
> Am 7.1.2012 um 22:28 schrieb Yuan Luo:
>
> > This happens in emacs23, what am I missing?
>
> 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.)
>
> --
> Greetings
>
>  Pete
>
> The future will be much better tomorrow.
>                                – George W. Bush
>
>

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

  reply	other threads:[~2012-01-08  0:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMY509kbOzcMsaVv=t259OhPhKtjEsT=hSh1TPr8YFp7ZY4c6g@mail.gmail.com' \
    --to=yuan.hypnos.luo@gmail.com \
    --cc=Peter_Dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.