emacs、zsh、screen入れる

さくらレンタルサーバー スタンダードプランで。
http://d.hatena.ne.jp/aircastle/20071209/1197144758

mkdir local
mkdir local/emacs
mkdir tmp
cd tmp
wget http://core.ring.gr.jp/pub/GNU/emacs/emacs-22.2.tar.gz
tar zxvf emacs-22.2.tar.gz
cd emacs-22.2
./configure --prefix=$HOME/local/emacs
make
make install
mkdir $HOME/local/zsh
cd ~/tmp
wget http://www.zsh.org/pub/zsh-4.2.7.tar.gz
tar zxvf zsh-4.2.7.tar.gz
cd zsh-4.2.7
./configure --prefix=$HOME/local/zsh
make
make install
mkdir $HOME/local/screen
cd ~/tmp
wget ftp://www.dekaino.net/pub/screen/screen-4.0.3.tar.gz
tar zxvf screen-4.0.3.tar.gz
cd screen-4.0.3
./configure --prefix=$HOME/local/screen
make
make install


./local/emacs/bin/emacs ~/.zshrc

# for emacs
export EMACS_HOME=$HOME/local/emacs
export PATH=$EMACS_HOME/bin:$PATH

# for screen
export SCREEN_HOME=$HOME/local/screen
export PATH=$SCREEN_HOME/bin:$PATH

# for main command
export PATH=/bin:$PATH