archinstall/modules/10-chroot/user/10-dotfiles.sh
2025-06-21 06:41:23 +00:00

12 lines
405 B
Bash

#!/bin/bash
#shellcheck disable=SC2154
config=(git --git-dir "$HOME/.dotfiles" --work-tree "$HOME")
repo='https://git.gmoker.com/ange/dotfiles.git'
git clone --bare "$repo" "$HOME/.dotfiles"
"${config[@]}" checkout -f
"${config[@]}" submodule update --init --recursive --remote
"${config[@]}" config status.showUntrackedFiles no
"${config[@]}" remote set-url origin git@git.gmoker.com:ange/dotfiles.git