view install.sh @ 58:a6513d65eccf

Added syntastic.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 08 Dec 2011 17:13:23 -0800
parents b5f45325f37a
children d753f7893361
line wrap: on
line source

#!/bin/sh

CWD="$( cd "$( dirname "$0" )" && pwd )"

ln -s "$CWD/vim"        "$HOME/.vim"
ln -s "$CWD/vim/vimrc"  "$HOME/.vimrc"

echo %include $CWD/hgrc/hgrc > "$HOME/.hgrc"
echo [extensions] >> "$HOME/.hgrc"
echo hggit = $CWD/lib/hg/hg-git/hggit/ >> "$HOME/.hgrc"
echo onsub = $CWD/lib/hg/onsub/onsub.py >> "$HOME/.hgrc"

ln -s "$CWD/hgrc/hgignore" "$HOME/.hgignore"