-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmacOSSetup.sh
executable file
·79 lines (66 loc) · 1.76 KB
/
macOSSetup.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/usr/bin/env zsh
declare script_dir="$(realpath $(dirname -- "$0"))"
source $script_dir/functions.sh
# Menu for selecting the installation steps
while true; do
echo 'Please select an option:'
echo '1. Update and patch your Mac (Will be prompted for admin password)'
echo '2. Rename your Mac (Will be prompted for admin password)'
echo '3. Install Xcode Command Line Tools'
echo '4. Install Homebrew'
echo '5. Install Homebrew Packages'
echo '6. Download and install Droid SansM Nerd Font'
echo '7. Install Oh My Zsh and Powerlevel10k'
echo '8. Install asdf'
echo '9. Configure git'
echo '10. Execute All'
echo '0. Exit'
echo -n 'Enter the number of your choice: '
read choice
case $choice in
1)
update_patch_mac
;;
2)
rename_mac
;;
3)
install_xcode_clt
;;
4)
install_homebrew
;;
5)
install_homebrew_packages
;;
6)
download_install_font
;;
7)
install_oh_my_zsh_powerlevel10k
;;
8)
install_asdf
;;
9) configure_git
;;
10)
update_patch_mac
rename_mac
install_xcode_clt
install_homebrew
install_homebrew_packages
download_install_font
install_oh_my_zsh_powerlevel10k
install_asdf
configure_git
;;
0)
echo 'Exiting.'
break
;;
*)
echo 'Invalid option. Please try again.'
;;
esac
done