-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.sh
executable file
·63 lines (55 loc) · 1.68 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
56
57
58
59
60
61
62
63
#!/usr/bin/env bash
set -eo pipefail
if [[ $EUID -eq 0 ]]; then
echo -e "\033[01;31mPlease do not use sudo to run this script!\033[00m" 2>&1
exit 1
fi
echo "Installing developer tools..."
sudo xcode-select --install || true
echo "Changing shell to /bin/bash for ${USER}"
chsh -s /bin/bash || true
echo -e "Setting up Mac..."
source setup/bashrc.sh
source setup/packages.sh
./setup/mac_settings.sh
./setup/duti_vscode.sh
source setup/scm_breeze.sh
# echo "Running 'java --request' to install Java..."
# java --request
echo "🍀" > "$HOME/.user_sym"
echo "" > "$HOME/.hostname_sym"
echo "Opening installed applications..."
open -a "/Applications/iTerm.app"
open -a "/Applications/Rectangle.app"
open -a "/Applications/Dozer.app"
open -a "/Applications/Flux.app"
open -a "/Applications/RescueTime.app"
open -a "/Applications/Docker.app"
open -a "/Applications/Dropbox.app"
open -a "/Applications/Backup and Sync.app"
open -a "/Applications/Google Chrome.app"
open -a "App Store"
echo
echo "Next Steps:"
echo "================================="
echo
echo "=> Sign in to Chrome"
echo " ↪ Sign in to LastPass"
echo " ↪ Sign in to GitHub"
echo "=> Sync VS Code settings (use built-in sync)"
echo "=> Sign in to GitLab"
echo "=> Sign in to the App Store"
echo " ↪ Then run ./setup/mas.sh to install apps from App Store"
echo "=> Sign in to Dropbox"
echo " ↪ Run 'mackup restore'"
echo " ↪ Run './bin/dropbox_backup -r'"
echo
echo "=> Sign in to DocSpring Google Drive"
echo "=> Sign in to Personal Google Drive"
echo "=> Sign in to RescueTime"
echo "=> Sign in to Skype"
echo "=> Sign in to Line and Whatsapp"
echo "=> Sign in to Telegram"
echo "=> Sign in to Slack"
echo "=> Sign in to Spotify"
echo