Move stuff into yadm bootstrap
This commit is contained in:
parent
879349b01a
commit
590a48c82d
|
@ -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"
|
|
||||||
|
|
Loading…
Reference in a new issue