view install.sh @ 37:49e2c3db57d3

More extensions. Added optional local hgrc.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 22 Nov 2011 16:17:14 -0800
parents c3a77eaa467a
children 92926116c4dd
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 >> "%userprofile%\mercurial.ini"