trimmed some stuff and reorganized the dotfiles

This commit is contained in:
Nikolas Weger 2017-07-20 15:27:41 +02:00
parent 3f5e822fb3
commit 5024639019
28 changed files with 375 additions and 174 deletions

View file

@ -1,14 +1,8 @@
#!/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 submodule update --init --recursive "${DOTBOT_DIR}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
"${BASEDIR}/lib/dotbot/bin/dotbot" -d "${BASEDIR}" -c config/dotbot/dotbot.yaml "${@}"