Shell
Macのターミナルは.bashrcを読まず.bash_profileを読むが、screenは.bashrcを読む為、この様に設定している。
.bash_profile
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
.bashrc
shopt -s histappend
export PROMPT_COMMAND="history -a; history -n"
export HISTSIZE=10000
export HISTFILESIZE=20000
export HISTCONTROL="ignoredups"
.screenrc
startup_message off
escape ^Zz
term xterm-color
defscrollback 10000
.vimrc
syntax on
set expandtab
set ts=4
set sw=4
set backupdir=~/.vim/tmp
set directory=~/.vim/tmp
make directory
mkdir -p ~/.vim/tmp