Aww Sheezy!

Colors in Cygwin Terminal, and VIM

by on May.22, 2011, under Hacking, How-To, Software, Tech

Hey Guys,

So I had looked this up a while back, and just recently needed to do this once more on another workstation, so I figured I’d share out how to make your Cygwin terminal look a bit more “linux-ish” by adding some colors! So there’s two things to do, really:

# vi .bash_profile:
alias ls="ls --color=auto"

# vi .vimrc
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch

That should do it!

Oh, by the way, the “mintty” terminal within Cygwin’s optional install list is a MUCH better terminal than the default “Cygwin” terminal. Use that one.

:, , , , , , ,