simple singularities

mac ls & vi colorize

Filed under: apple — fri13th December 20, 2006 @ 12:24 pm

i use iTerm in mac, and notice that mac’s default terminal output is monochrome.. does it make you surprise?

umm.. so i decide to display some color. and i set the background black, it is needed to change color sheme..

default ls command in mac lacks of functions, i install gnu fileutils and get ls from there.

and set .bashrc like this

alias ls=’ls –color=auto -NF’ 
export LS_COLORS=’no=00:fi=00:di=01;33:ln=01;36:pi=33:so=01;35:
bd=01;33:cd=01;33:ex=01;32:*.c=36:*.cc=36:*.h=33:*.cmd=01;32:*.exe=01;32:
*.com=01;32:*.btm=01;32:*.bat=01;32:*.app=01;32:*.tar=00;31:*.tgz=00;31:
*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:
*.sit=00;31:*.sitX=00;31:*.zip=00;31:*.bin=00;31:*.hqx=00;31:*.jpg=00;35:
*.jpeg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.tif=00;35:
*.tiff=00;35:*.pdf=00;35:*.avi=00;35:*.mov=00;35:*.mpg=00;35:*.mpeg=00;35:
*.asf=00;35:*.wmv=00;35:*.rm=00;35:*.swf=00;35:*.mp3=00;35:*.aiff=00;35:
*.aif=00;35:*.snd=00;35:*.wav=00;35:’

 

i upgade vi to vim using darwin port,  and set .vimrc like this

syntax on
colorscheme darkblue

it works fine to me.. good luck to mac users!

new iMac arrived!

Filed under: apple,want — fri13th December 13, 2006 @ 5:43 pm

Apple iMac Desktop with 24\

my company decide to use iMac as a development machine! i received iMac 24inch, 2GB model yesterday and finished all setups now.. it’s just a great machine, and you never believe all windows programs are running on OSX desktop under the parallels’s coherence mode.

just amazing! i decide to use apple only as a development machine from now.

<<< Previous Page