view install.sh @ 111:92a93c9a9ad4

Fixed GitHub schemes. Better log templates.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 28 Aug 2012 21:27:13 -0700
parents b96ff0dd0137
children 20c49d51f7e3
line wrap: on
line source

#!/bin/sh

CWD="$( cd "$( dirname "$0" )" && pwd )"

# BASH
# ----
ln -s "$CWD/bashrc/bashrc" "$HOME/.bashrc"
ln -s "$CWD/bashrc/bash_profile" "$HOME/.bash_profile"

# VIM
# ---
echo set runtimepath+=$CWD/vim > "$HOME/.vimrc"
echo source $CWD/vim/vimrc >> "$HOME/.vimrc"

# MERCURIAL
# ---------
echo %include $CWD/hgrc/hgrc > "$HOME/.hgrc"
echo [ui] >> "$HOME/.hgrc"
echo ignore = $CWD/hgrc/hgignore >> "$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"