How to disable all syntax coloring in Cygwin/bash?

Chris Wolf cwolf.algo@gmail.com
Mon Dec 16 22:31:00 GMT 2013


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



More information about the Cygwin mailing list