2022-11-15 22:24:39 +00:00
|
|
|
#!/usr/bin/sh
|
|
|
|
|
2024-01-12 23:17:09 +00:00
|
|
|
git clone --bare https://git.serguzim.me/serguzim/.dotfiles.git "$HOME/.local/share/yadm/repo.git" || exit
|
2022-11-15 22:23:17 +00:00
|
|
|
|
2024-01-12 23:17:09 +00:00
|
|
|
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 status
|
2024-05-13 11:50:23 +00:00
|
|
|
echo "Stashing changes"
|
2024-04-17 23:31:16 +00:00
|
|
|
yadm stash
|
2024-01-12 23:17:09 +00:00
|
|
|
|
2024-05-13 11:50:23 +00:00
|
|
|
echo "Running bootstrap script"
|
|
|
|
"$HOME/.config/yadm/bootstrap"
|