view install.sh @ 56:0dbb1fd60f71

Debugging features, better auto-complete, and a bug fix in the hg-repo detection code.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 08 Dec 2011 12:30:50 -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"