Monday, January 31, 2011

Cygwin: Coloring CLI

I've got this from someone who share it in the internet, so the credit should goes to him/ her :) This is just a note-taking, so I can search it on the archive in the future.

Add these lines to .vimrc file which located on your $HOME directory (or create one if you can't find one):

" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
  syntax on
  set hlsearch

And for your Cygwin CLI, so you can see clearly. Add this line to your .bashrc file on your $HOME directory:
alias ls="ls -CF --color"

That's it.. restart your Cygwin, and you'll find the differences :)

1 comment:

  1. If so, the participant will place a guess 카지노사이트.online for a similar amount she or he positioned for the ante and "pair plus" bets . Before play continues, the dealer will need to|might need to} qualify the dealer’s hand. In order to qualify for play, the dealer should have have} a minimum of|no less than} a Queen high among the three playing cards.


Hi, for all of those who already put comments on my blog post, thanks.. really appreciate it. And for those who have not, just put your comments here :)