This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How to disable all syntax coloring in Cygwin/bash?
- From: Chris Wolf <cwolf dot algo at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 16 Dec 2013 17:31:25 -0500
- Subject: Re: How to disable all syntax coloring in Cygwin/bash?
- Authentication-results: sourceware.org; auth=none
- References: <CAK=acOJfFR5LE78xWF4ZM_ZE0XZZCm41KCfKtVe8jncV5bC18A at mail dot gmail dot com>
I was able to come up with something, though not sure it's the best or
what I had before. Sorry if this is obvious to most people, but to
get rid of colorized output, I added to my .bashrc:
export LS_COLORS=''
If $PS1 has terminal color escape codes, then replace that also with
something else, e.g.:
export PS1="\h $ "
Thanks,
Chris
On Mon, Dec 16, 2013 at 4:58 PM, Chris Wolf <cwolf.algo@gmail.com> wrote:
> I just installed a recent release of Cygwin and notice that it now
> features syntax highlighting. Is there a way to totally disable this?
> All I want is be able to set the foreground/background colors via the
> Windoze way of right clicking on the frame and I don't want the out of
> "ls" colorized nor for the colors to change to some weird settings
> upon invoking "vi". I want them the same under all conditions.
>
> I checked the documentation, FAQ and message archives of this list,
> but most of the questions were about how to *enable* colors or
> customize them.
>
> I actually did figure a round-about way of doing this via setting some
> env vars and setting (or unsetting aliases). Unfortunately the laptop
> I did this on died, so I'm starting from scratch.
>
> (P.S. this could be bash issue and not exactly Cygwin, although older
> releases of Cygwin did not have this "problem". )
>
> Thanks,
>
> Chris
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple