-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.sh
More file actions
executable file
·47 lines (35 loc) · 1.06 KB
/
main.sh
File metadata and controls
executable file
·47 lines (35 loc) · 1.06 KB
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
#!/bin/bash
# Script set up the macOS settings and install applications
# Author: Troels Lund
echo "👨🏻🚀 Admin password required for some tasks doing the setup."
# Ask for the administrator password upfront
sudo -v
# Make scripts executable
chmod +x install-apps-macos.sh
chmod +x settings-macos.sh
chmod +x shell-setup.sh
chmod +x git-setup.sh
chmod +x hammerspoon/hammerspoon.sh
echo "🏃 Running macOS bootstrap script..."
echo "🚀 Setting up macOS..."
# Install applications
echo "📲 Installing applications..."
./install-apps-macos.sh
echo "📲 Applications installed."
# Set settings for macOS
echo "🛠 Setting up macOS settings..."
./settings-macos.sh
echo "🛠 macOS settings complete."
# Set up shell (zsh)
echo "🐚 Setting up shell (zsh)..."
./shell-setup.sh
echo "🐚 Shell setup complete."
# Set up Git
echo "🐙 Setting up Git..."
./git-setup.sh
echo "🐙 Git setup complete."
# Set up Hammerspoon
echo "🛠 Setting up Hammerspoon..."
./hammerspoon/hammerspoon.sh
echo "🛠 Hammerspoon setup complete."
echo "✅ macOS setup complete."