forked from kinoute/macos-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·31 lines (19 loc) · 798 Bytes
/
Copy pathinstall.sh
File metadata and controls
executable file
·31 lines (19 loc) · 798 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
#!/usr/bin/env bash
###############################################################################
# Main Installation File to run everything at once #
###############################################################################
# Ask for the administrator password upfront
sudo -v
# Keep-alive: update existing `sudo` time stamp until the script has finished.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
echo "Installing brew packages first..."
bash ./scripts/brew.sh
echo "Setting up macOS just like we like..."
bash ./scripts/macos.sh
echo "Setting up Git.."
bash ./scripts/git.sh
echo "Setting up Terminal, ZSH and iTerm2.."
bash ./scripts/terminal.sh
echo "Setting up SSH Key.."
bash ./scripts/ssh.sh
echo "DONE!"