Mercurial > dotfiles
view install.sh @ 92:64c42f5c9a97
Open NERDTree in the current file's path.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 28 Mar 2012 16:10:38 -0700 |
parents | 6b2c3f14a5c1 |
children | b96ff0dd0137 |
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 # --- ln -s "$CWD/vim" "$HOME/.vim" ln -s "$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"