-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.sh
executable file
·58 lines (46 loc) · 1.29 KB
/
index.sh
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/env bash
function do_it () {
local CURRENT_DIR
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )";
# echo "Updating system" && \
# if ! "${CURRENT_DIR}"/system/update-system.sh; then
# echo "Something went wrong" 2>&1
# fi
# echo "Installing dependencies" && \
# if ! "${CURRENT_DIR}"/system/dependencies.sh; then
# echo "Something went wrong" 2>&1
# exit 1;
# fi
# echo "Installing mandatory binaries" && \
# if ! "${CURRENT_DIR}/system/bins.sh"; then
# echo "Something went wrong" 2>&1
# exit 1;
# fi
# echo "Configuring and installing mise managed binaries" && \
# if ! "${CURRENT_DIR}/system/mise.sh"; then
# echo "Something went wrong" 2>&1
# exit 1;
# fi
# if ! "${CURRENT_DIR}/alacritty/index.sh"; then
# echo "Something went wrong" 2>&1
# exit 1;
# fi
# if ! "${CURRENT_DIR}/omp/index.sh"; then
# echo "Something went wrong" 2>&1
# exit 1;
# fi
# if ! "${CURRENT_DIR}/bat/index.sh"; then
# echo "Something went wrong" 2>&1
# exit 1;
# fi
# echo "Configuring zsh" && \
# if ! "${CURRENT_DIR}/zsh/index.sh"; then
# echo "Something went wrong" 2>&1
# exit 1;
# fi
if ! "${CURRENT_DIR}/tmux/index.sh"; then
echo "Something went wrong" 2>&1
exit 1;
fi
}
do_it "$@"