-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinstall
More file actions
executable file
·32 lines (21 loc) · 737 Bytes
/
install
File metadata and controls
executable file
·32 lines (21 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env bash
set -e
ROOTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
cd "${ROOTDIR}"
source "${ROOTDIR}/tweaks/shell-functions"
###############################################
banner dotbot
# This will download the dotbot script into the (submodule) dir "./dotbot"
try git submodule update --init --recursive
# Instruct dotbot to start ensuring symlinks + shell scripts are executed
try ./dotbot/bin/dotbot -c dotfiles.yaml "${@}"
banner "dotbot success"
say "press 'enter' to run all the tweaks/ or '^c' to exit"
read -r -sp "waiting for input..." _x && echo
echo "$_x" >/dev/null
## run my scripts that prep my environment
try cd "${ROOTDIR}/tweaks"
for a in *.sh; do
banner "./${a}"
try "./${a}"
done