Files
dotfiles/install
T
tmerritt 30ea24746c Adds Gitrepos
Adds cx2 K8S config
2021-11-15 10:31:32 -05:00

17 lines
458 B
Bash
Executable File

#!/usr/bin/env bash
set -e
CONFIG="install.conf.yaml"
DOTBOT_DIR="dotbot"
DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
git submodule update --init --recursive "${DOTBOT_DIR}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}" \
-p ${BASEDIR}/plugins/dotbot-git/git.py
-p ${BASEDIR}/plugins/zsh-syntax-highlighting/