dotfiles/install.sh

9 lines
203 B
Bash
Raw Normal View History

2018-03-26 06:28:57 -07:00
#!/bin/bash
for file in $(find . -maxdepth 1 -name ".*" -type f -printf "%f\n" ); do
if [ -e ~/$file ]; then
mv -f ~/$file{,.dtbak}
fi
ln -s $PWD/$file ~/$file
done
echo "Installed"