view install.sh @ 33:8c7a7782a2a1

Quote around link paths.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 22 Nov 2011 11:20:05 -0800
parents 8b67136af5b7
children c3a77eaa467a
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"