Monday, November 29, 2010

color in xterm

to have colors for filetype recognition in ls, use
alias ls "ls --color"
or
alias ls='ls -hFG'
in .cshrc or .bashrc

when using vi, to have color to aid coding, create a file .vimrc in home directory containing:
set term=ansi
syntax on

No comments: