Move stuff into yadm bootstrap

This commit is contained in:
Tobias Reisinger 2024-05-13 13:50:23 +02:00
parent 879349b01a
commit 590a48c82d
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -6,11 +6,9 @@ alias yadm='git --git-dir="$HOME/.local/share/yadm/repo.git"'
yadm config core.bare false
yadm config core.worktree "$HOME"
yadm config status.showUntrackedFiles no
yadm remote set-url --push origin "git@git.serguzim.me:serguzim/.dotfiles.git"
yadm status
echo "Stashing changes..."
echo "Stashing changes"
yadm stash
mkdir -p "$HOME/.local/bin"
curl -Lo "$HOME/.local/bin/autoinstall" https://git.serguzim.me/serguzim/tools/releases/download/latest/autoinstall
chmod +x "$HOME/.local/bin/autoinstall"
echo "Running bootstrap script"
"$HOME/.config/yadm/bootstrap"