view install.sh @ 73:39a7e05637d8

Added 80 chars limit to text/markdown files. Added <F4> hotkey to switch to alternate buffer.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 23 Feb 2012 21:01:55 -0800
parents d753f7893361
children 2e0fbe44e9fe
line wrap: on
line source

#!/bin/sh

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

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

# VIM
# ---
ln -s "$CWD/vim"        "$HOME/.vim"
ln -s "$CWD/vim/vimrc"  "$HOME/.vimrc"

# MERCURIAL
# ---------
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"