dotfiles/.config/yadm/bootstrap.d/submodule.sh
2022-03-23 21:37:49 +11:00

8 lines
238 B
Bash

#!/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