view install.sh @ 51:a6bc310e7015

First version of lawrencium plugin.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 07 Dec 2011 23:32:39 -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"