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: help-gnu-emacs@gnu.org
Subject: customizing dircolors doesn't take effect in emacs shell
Date: Sat, 7 Jan 2012 16:28:48 -0500	[thread overview]
Message-ID: <CAMY509kXObOX1GaAn83ZJ49d-L3M+ycBFpZCObSWGrGSC9G1FQ@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2012-01-07 21:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-07 21:28 Yuan Luo [this message]
2012-01-08  0:12 ` customizing dircolors doesn't take effect in emacs shell 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

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=CAMY509kXObOX1GaAn83ZJ49d-L3M+ycBFpZCObSWGrGSC9G1FQ@mail.gmail.com \
    --to=yuan.hypnos.luo@gmail.com \
    --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.