Mercurial > dotfiles
comparison install.sh @ 70:d753f7893361
Added `bashrc`.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 05 Feb 2012 14:11:56 -0800 |
parents | b5f45325f37a |
children | 2e0fbe44e9fe |
comparison
equal
deleted
inserted
replaced
69:c6dfa2799d1d | 70:d753f7893361 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 CWD="$( cd "$( dirname "$0" )" && pwd )" | 3 CWD="$( cd "$( dirname "$0" )" && pwd )" |
4 | 4 |
5 # BASH | |
6 # ---- | |
7 ln -s "$CWD/bashrc/bashrc" "$HOME/.bashrc" | |
8 | |
9 # VIM | |
10 # --- | |
5 ln -s "$CWD/vim" "$HOME/.vim" | 11 ln -s "$CWD/vim" "$HOME/.vim" |
6 ln -s "$CWD/vim/vimrc" "$HOME/.vimrc" | 12 ln -s "$CWD/vim/vimrc" "$HOME/.vimrc" |
7 | 13 |
14 # MERCURIAL | |
15 # --------- | |
8 echo %include $CWD/hgrc/hgrc > "$HOME/.hgrc" | 16 echo %include $CWD/hgrc/hgrc > "$HOME/.hgrc" |
9 echo [extensions] >> "$HOME/.hgrc" | 17 echo [extensions] >> "$HOME/.hgrc" |
10 echo hggit = $CWD/lib/hg/hg-git/hggit/ >> "$HOME/.hgrc" | 18 echo hggit = $CWD/lib/hg/hg-git/hggit/ >> "$HOME/.hgrc" |
11 echo onsub = $CWD/lib/hg/onsub/onsub.py >> "$HOME/.hgrc" | 19 echo onsub = $CWD/lib/hg/onsub/onsub.py >> "$HOME/.hgrc" |
12 | 20 |
13 ln -s "$CWD/hgrc/hgignore" "$HOME/.hgignore" | 21 ln -s "$CWD/hgrc/hgignore" "$HOME/.hgignore" |
14 | 22 |
23 |