source : http://sec.tistory.com/240
mulder's macos terminal basic setup
.profile
export PATH=/opt/local/bin:/opt/local/sbin:$PATH # Finished adapting your PATH environment variable for use with MacPorts. #export PS1="\w$ " export TERM=xterm-color export CLICOLOR=true export LSCOLORS=ExFxCxDxBxegedabagacad alias ls='ls -FGw' # 한글 표시, 디렉토리면 뒤에 / 표시, 확장자별 색상 표시 alias vi="vi '+syn on'" # vi 쓸 때 syntax highlighting - 이건 보너스 alias ll="ls -lv" #alias ls='ls -G' TITLEBAR='\[\e]0;\u@\h:\w \a\]' export PS1=${TITLEBAR}'\W\[\e[37;1m\]$ \[\e[0m\]' export PATH=/opt/local/bin:/opt/local/sbin:$PATH
.vimrc
set encoding=utf-8 set termencoding=utf-8 " vim visual 셋팅 set nu " Line numbers on set nowrap " Line wrapping off " Formatting (some of these are for coding in C and C++) set ts=4 " Tabs are 2 spaces "set bs=4 " Backspace over everything in insert mode set shiftwidth=4 " Tabs under smart indent set autoindent set smarttab " Visual set showmatch " Show matching brackets. set mat=5 " Bracket blinking. set background=dark syntax on