Freitag, 24. Juni 2011

mac os X enable colored terminal and colored vi

how to make a colored terminal window

to change login shell edit following files:
~/.bash_profile
~/.profile

export CLICOLOR=1;
export TERM="xterm-color"
alias ls="ls -G"
alias r='ssh -l root'
alias ssh='ssh -l root'


to make vi (vim) "colored" edit:
 ~/.vimrc
syntax on

tested on MAC OS X 10.6, XSERVE 10.5
this works on ssh terminal too! (putty)
Kommentar veröffentlichen