forked from alrra/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.sh
executable file
·54 lines (40 loc) · 1.19 KB
/
main.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
#!/usr/bin/env bash
# See https://github.com/herrbischoff/awesome-osx-command-line for more options
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../../utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
main() {
local skipQuestions=false
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
skip_questions "$@" \
&& skipQuestions=true
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Close any open `System Preferences` panes in order to
# avoid overriding the preferences that are being changed.
./close_system_preferences_panes.applescript
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
./app_store.sh
./chrome.sh
if $skipQuestions; then
./computer_name.sh -y
else
./computer_name.sh
fi
./dock.sh
./finder.sh
./firefox.sh
./keyboard.sh
./language_and_region.sh
./maps.sh
./photos.sh
./safari.sh
./security_and_privacy.sh
./terminal.sh
./textedit.sh
./trackpad.sh
./transmission.sh
./ui_and_ux.sh
#./xtrafinder.sh
}
# Pass '-y' to script to skip questions
main "$@"