Files
dotfiles/install/link.sh
Nick Nisi 6590edaf82 update install scripts
* automate more of the nginx setup
* automate the dnsmasq setup
2015-01-17 02:57:20 -06:00

12 lines
257 B
Bash
Executable File

#!/bin/bash
DOTFILES=$HOME/.dotfiles
echo "creating symlinks"
linkables=$( ls -1 -d **/*.symlink )
for file in $linkables ; do
target="$HOME/.$( basename $file ".symlink" )"
echo "creating symlink for $file"
ln -s $DOTFILES/$file $target
done