From a0c8bbf0c92e680ac33558bf709e2d3ca55316e6 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Thu, 16 Sep 2021 11:23:40 -0600 Subject: [PATCH] submodule inclusion' --- setup/linux | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup/linux b/setup/linux index 8154666..58f7783 100755 --- a/setup/linux +++ b/setup/linux @@ -8,8 +8,13 @@ command -v zsh >/dev/null || { echo 'ERROR::`zsh` required'; exit 1; } cd "${0:a:h}" export DOTWRYN_PATH="$(git rev-parse --show-toplevel)" +cd $DOTWRYN_PATH INIT() { + git submodule update --init --remote || { + echo 'unable to initialize required submodules' + exit 1 + } source "$DOTWRYN_PATH/zsh/utils/color.zsh" source "$DOTWRYN_PATH/zsh/utils/user-input.zsh" STATUS 'starting .wryn install'