view install.sh @ 30:8b67136af5b7

Now generating .hgrc for locating hg-git.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 21 Nov 2011 21:32:13 -0800
parents 5db6b52ebf51
children 8c7a7782a2a1
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