15 lines
399 B
Bash
Executable file
15 lines
399 B
Bash
Executable file
#!/usr/bin/sh
|
|
|
|
git clone --bare https://git.serguzim.me/serguzim/.dotfiles.git "$HOME/.local/share/yadm/repo.git" || exit
|
|
|
|
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
|
|
echo "Stashing changes"
|
|
yadm stash
|
|
|
|
echo "Running bootstrap script"
|
|
"$HOME/.config/yadm/bootstrap"
|