Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:costi/mydotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Costi committed Jul 29, 2011
2 parents 31abb85 + e878ed6 commit cfb81d0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions install.sh
Expand Up @@ -7,10 +7,9 @@

ME=`readlink -f $0`
SETUP_DIR=$(dirname $ME)
ORIGINAL_DIR=`pwd`

cd $SETUP_DIR
cp -va * ~
tar -cf - .* --exclude=\. --exclude=\.\. --exclude=\.git | tar -xvf - -C ~/
cd $ORIGINAL_DIR

files=( .ackrc .bashrc .irbrc .bash_aliases .screenrc .vimrc .vim )
for file in "${files[@]}"
do
ln -v -s ${SETUP_DIR}/${file} ~/${file}
done

0 comments on commit cfb81d0

Please sign in to comment.