diff --git a/copy.sh b/copy.sh index 2276884..7c434b9 100755 --- a/copy.sh +++ b/copy.sh @@ -1,3 +1,6 @@ #!/bin/bash -ln -sf ~/.dotfiles/.* ~/ + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)" + +ln -sf $SCRIPT_DIR/.* ~/ yes | rm -r ~/.git