mirror of https://github.com/einverne/dotfiles.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
418 B
19 lines
418 B
4 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
CONFIG="config/install.conf.yml"
|
||
|
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}" \
|
||
|
--verbose \
|
||
|
--plugin-dir dotbot-brew \
|
||
|
-c "${CONFIG}" "${@}"
|