More consistent copying behavior

This commit is contained in:
Sage Vaillancourt 2021-10-06 09:40:58 -04:00
parent 48819efb2e
commit 547e49d2a3
1 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
#!/bin/bash #!/bin/bash
ln -sf ~/.dotfiles/.* ~/ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
yes | rm -r ~/.git
for f in $(find $SCRIPT_DIR -mindepth 1 -name ".*" -not -name ".git"); do
ln -sf $f ~/
done