view install.sh @ 34:c3a77eaa467a

Added 'onsub' extension for Mercurial.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 22 Nov 2011 12:07:08 -0800
parents 8c7a7782a2a1
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"