#!/bin/bash

if [ -f .vimrc ]; then
echo "set tabstop=4
set shiftwidth=4
set expandtab
set autoindent" > .vimrc
fi

if ! grep "set exrc" ~/.vimrc ; then
    echo "set exrc" >> ~/.vimrc
fi

find . -type d ! -name "CVS" -exec ln -s .vimrc {} \;

