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.bare false
yadm config core.worktree "$HOME" yadm config core.worktree "$HOME"
yadm config status.showUntrackedFiles no yadm config status.showUntrackedFiles no
yadm remote set-url --push origin "git@git.serguzim.me:serguzim/.dotfiles.git"
yadm status yadm status
echo "Stashing changes..." echo "Stashing changes"
yadm stash yadm stash
mkdir -p "$HOME/.local/bin" echo "Running bootstrap script"
curl -Lo "$HOME/.local/bin/autoinstall" https://git.serguzim.me/serguzim/tools/releases/download/latest/autoinstall "$HOME/.config/yadm/bootstrap"
chmod +x "$HOME/.local/bin/autoinstall"