help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: customizing dircolors doesn't take effect in emacs shell


From: Peter Dyballa
Subject: Re: customizing dircolors doesn't take effect in emacs shell
Date: Mon, 9 Jan 2012 10:53:01 +0100

Am 9.1.2012 um 02:05 schrieb Yuan Luo:

> alias l='ls -CF'
> alias la='ls -A'
> alias ll='ls -alF'
> alias ls='ls --color=auto'
> 
> Anything noticeable?

IMO it's not recommended to use the same symbol, "ls", left and right of the 
equals sign. I recommend to use the full pathname of the ls programme when this 
programme is meant.

Are all aliases from ~/.bashrc listed inside GNU Emacs?

Can you trace the execution of the ls alias?

Have you tried to use the more ANSI compliant "term" function/emulation?

It can be that you need to set up the *shell* buffer to actually show colours 
(*term* has it activated by default, by its more complete compliance to ANSI):

    (add-hook 'shell-mode-hook (lambda ()
        (ansi-color-for-comint-mode-on)))

Check your GNU Emacs documentation on this topic!

--
Greetings

  Pete

The most exciting phrase to hear in science, the one that heralds new 
discoveries, is not "Eureka!" (I found it!) but "That's funny..."
                                – Isaac Asimov




reply via email to

[Prev in Thread] Current Thread [Next in Thread]