2021-10-19 21:27:35 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-02-05 15:10:27 -05:00
|
|
|
cd $(dirname $(echo $0))/src/
|
2021-10-19 21:27:35 -04:00
|
|
|
|
|
|
|
echo Making directories
|
|
|
|
for f in $(find -type d); do
|
|
|
|
DIR=$HOME$(echo $f | cut -c 2-)
|
|
|
|
echo $DIR
|
|
|
|
mkdir $DIR
|
|
|
|
done
|
|
|
|
|
|
|
|
echo Symlinking dotfiles
|
|
|
|
for f in $(find -type f); do
|
|
|
|
DEST=$HOME$(echo $f | cut -c 2-)
|
|
|
|
SRC=$PWD$(echo $f | cut -c 2-)
|
|
|
|
echo $SRC $DEST
|
|
|
|
ln -s $SRC $DEST
|
|
|
|
done
|