diff --git a/scripts/doas-pratham.sh b/scripts/doas-pratham.sh index 0ecc587..94095e0 100755 --- a/scripts/doas-pratham.sh +++ b/scripts/doas-pratham.sh @@ -1,18 +1,7 @@ #!/usr/bin/env bash +PRATHAM_HOME=/home/pratham -pushd /home/pratham -mkdir my-git-repos -pushd my-git-repos -git clone --depth 1 https://git.thefossguy.com/thefossguy/dotfiles.git -pushd dotfiles -tput -x clear -rsync \ - --verbose --recursive --size-only --human-readable \ - --progress --stats \ - --itemize-changes --checksum --perms \ - --exclude=".git" --exclude=".gitignore" --exclude="README.md" \ - --exclude="run_me.sh" --exclude="_OTHER" \ - ../dotfiles/ ~/ -popd -popd +pushd ${PRATHAM_HOME} +git clone --depth 1 --bare https://git.thefossguy.com/thefossguy/dotfiles.git +git --git-dir=${PRATHAM_HOME}/my-git-repos/dotfiles --work-tree=${PRATHAM_HOME} checkout popd