[ESS] pretty colors in bash
Mark Kimpel
mwkimpel at gmail.com
Fri Jun 20 03:48:27 CEST 2008
That did it. Thanks for the help and I'll check out the wiki. Mark
On Thu, Jun 19, 2008 at 9:35 PM, Michael Lawrence <mflawren at fhcrc.org> wrote:
> Probably something like:
> (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
>
> The emacs wiki is a good resource for further general emacs queries.
>
> Michael
>
> On Thu, Jun 19, 2008 at 6:18 PM, Mark Kimpel <mwkimpel at gmail.com> wrote:
>>
>> export PS1='\[\033[0;35m\]\h\[\033[0;33m\] \w\[\033[00m\]: '
>>
>> I have the above line in my .bashrc to liven up my gnome-terminal.
>> When I open a shell in emacs, instead of the colors I see all the
>> command characters. Is there a way for emacs to display the colors or,
>> failing that, for me to indicate to emacs that the export PS1 should
>> be ignored?
>>
>> Mark
>>
>>
>> --
>> Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry
>> Indiana University School of Medicine
>>
>> 15032 Hunter Court, Westfield, IN 46074
>>
>> (317) 490-5129 Work, & Mobile & VoiceMail
>> (317) 663-0513 Home (no voice mail please)
>>
>> ______________________________________________
>> ESS-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
>
>
--
Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry
Indiana University School of Medicine
15032 Hunter Court, Westfield, IN 46074
(317) 490-5129 Work, & Mobile & VoiceMail
(317) 663-0513 Home (no voice mail please)
More information about the ESS-help
mailing list