Files
dotfiles/install/link.sh
Nick Nisi 387594e491 update install files
* correct bad paths in install.sh (thanks @pidgypost)
* update brew install script
* update nvm installation to work correctly

fixes #6 and fixes #7
2015-08-10 22:40:10 -05:00

12 lines
285 B
Bash
Executable File

#!/bin/bash
DOTFILES=$HOME/.dotfiles
echo "creating symlinks"
linkables=$( find -H "$DOTFILES" -maxdepth 3 -name '*.symlink' )
for file in $linkables ; do
target="$HOME/.$( basename $file ".symlink" )"
echo "creating symlink for $file"
ln -s $DOTFILES/$file $target
done