# HG changeset patch # User Ludovic Chabant # Date 1328479916 28800 # Node ID d753f7893361d47893b7fd5d1e293118b64ec72a # Parent c6dfa2799d1df8f3156734f22dcd143d6df495f2 Added `bashrc`. diff -r c6dfa2799d1d -r d753f7893361 bashrc/bashrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bashrc/bashrc Sun Feb 05 14:11:56 2012 -0800 @@ -0,0 +1,15 @@ +# ----------- +# Environment +# ----------- + +# Custom PATH. +export PATH="$HOME/bin:$PATH" + +# Large history without duplicates. +export HISTSIZE=10000 +export HISTFILESIZE=10000 +export HISTCONTROL=erasedups + +# Use VIM by default. +export EDITOR="vim" + diff -r c6dfa2799d1d -r d753f7893361 install.sh --- a/install.sh Fri Dec 09 23:24:17 2011 -0800 +++ b/install.sh Sun Feb 05 14:11:56 2012 -0800 @@ -2,9 +2,17 @@ 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" @@ -12,3 +20,4 @@ ln -s "$CWD/hgrc/hgignore" "$HOME/.hgignore" + diff -r c6dfa2799d1d -r d753f7893361 uninstall.sh --- a/uninstall.sh Fri Dec 09 23:24:17 2011 -0800 +++ b/uninstall.sh Sun Feb 05 14:11:56 2012 -0800 @@ -1,5 +1,6 @@ #!/bin/sh +rm $HOME/.bashrc rm $HOME/.vim rm $HOME/.vimrc rm $HOME/.hgrc