-
Notifications
You must be signed in to change notification settings - Fork 4
/
secondary.sh
executable file
·47 lines (40 loc) · 1.7 KB
/
secondary.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
#!/usr/bin/env bash
#===============================================================================================
# PRE-LAUNCH SETUP
#===============================================================================================
# Only execute when running independently of initial install
if [ -z $RUN_SECONDARY ] || [ $RUN_SECONDARY = false ]; then
. ./lib/functions
loggers
fi
header
#===============================================================================================
# SYSTEM PERSONALIZATION
#===============================================================================================
section "Running System Personalization"
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
setDefaultShell
copyFiles
setSettings
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
installOMZ
installShellPrompts
addShellCompletions
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
configureGit
configureSSH
configureGPG
#===============================================================================================
# BACKUPS
#===============================================================================================
section "Backups"
restoreBackups
#===============================================================================================
# UPDATES
#===============================================================================================
section "Updates"
updateMacOS
#===============================================================================================
# COMPLETED
#===============================================================================================
footer "Secondary"