diff options
| author | Victor Xian Wang <victor.xianwang@gmail.com> | 2021-01-01 14:50:03 -0500 |
|---|---|---|
| committer | Victor Xian Wang <victor.xianwang@gmail.com> | 2021-01-01 15:20:29 -0500 |
| commit | 8ad58c791a8704651ea2d00015300f29d9301977 (patch) | |
| tree | 63d1c99995af35107c5d4ca200ef2bc6d5390b4f /install | |
| parent | ae0d1395f61295cf5a94a0655b4c91879d8829f8 (diff) | |
| download | dotfiles-8ad58c791a8704651ea2d00015300f29d9301977.tar.gz dotfiles-8ad58c791a8704651ea2d00015300f29d9301977.tar.bz2 dotfiles-8ad58c791a8704651ea2d00015300f29d9301977.zip | |
initial commit
add some rc files and conf files
Diffstat (limited to 'install')
| -rwxr-xr-x | install | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#!/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}" "${@}" |
