1 2 3 4 5 6 7
#! /bin/sh DIR=$(readlink -f $(dirname $0)) pushd $HOME >/dev/null ln -sf $DIR .vim ln -sf $DIR/vimrc .vimrc popd $HOME >/dev/null