dotfiles/.config/yadm/bootstrap

11 lines
350 B
Bash
Executable file

#!/bin/sh
# Because Git submodule commands cannot operate without a work tree, they must
# be run from within $HOME (assuming this is the root of your dotfiles)
cd "$HOME"
echo "Init submodules"
yadm submodule update --recursive --init
echo "Updating the yadm repo origin URL"
yadm remote set-url origin "git@github.com:MoritzBoehme/dotfiles.git"