-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
55 lines (45 loc) · 2.19 KB
/
setup.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
#!/usr/bin/env bash
printf '\033[1;32m
## ## ##### ## ## ## ## ####### ####### ##### ##### ## ##
### ### ####### ### ## ## ## ####### ####### ###### ####### ## ##
#### ### ## ## ### ## ## ## ## ## ## ## ## ## ## ##
#### #### ## ## #### ## #### ## ## ## ## ## ## ## ##
## #### ## ## ## ## ## ## #### ###### ###### #### ###### ## ## ####
## ## ## ## ## ## ## ## ##### ###### ###### #### ###### ## ## ##
## ## ## ## ## ## #### ## ### ## ## ## ## ## ## ##
## ## ## ## ## ### ## ## ## ## ## ## ## ## ##
## ## ####### ## ### ## ## ####### ####### ####### ####### ##
## ## ##### ## ## ## ### ####### ####### ###### ##### ##
\n\033[0m';
echo 'This setup will install a varity of applications and packages. It is recommended to customize the configs before running.'
read -rp "Are you sure you want to continue? (Y/n) " -n 1
printf '\n\n'
if [[ $REPLY =~ ^[Yy]$ ]]; then
printf '\033[0;33m';
printf ' *********************** SETUP INITIATED ***********************\n';
printf ' This could take a few minutes.\n';
printf ' ***************************************************************\n\n\n\033[0m';
printf '\033[1;36m❯ xcode-tools\n\033[0m'
source ./installers/xcode-tools.sh
printf '\n'
printf '\033[1;36m❯ Homebrew\n\033[0m'
source ./installers/homebrew.sh
printf '\n'
printf '\033[1;36m❯ node.js\n\033[0m'
source ./installers/nodejs.sh
printf '\n'
printf '\033[1;36m❯ Brew Packages\n\033[0m'
source ./installers/brew-packages.sh
printf '\n'
printf '\033[1;36m❯ npm Packages\n\033[0m'
source ./installers/npm-packages.sh
printf '\n'
#printf '\033[1;36m❯ Ruby Gems\n\033[0m'
#source ./installers/ruby-gems.sh
#printf '\n'
printf '\033[1;36m❯ Zsh Config\n\033[0m'
source ./installers/zsh.sh
printf '\n'
else
printf '\033[1;36m❯ Goodbye.\n\033[0m'
fi