-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·52 lines (49 loc) · 890 Bytes
/
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
#!/bin/sh
source ./setup/util.sh
case "$1" in
backup)
source ./setup/backup.sh
;;
link)
source ./setup/setup-symlinks.sh
;;
git)
source ./setup/setup-git.sh
;;
nvim)
source ./setup/setup-neovim.sh
;;
homebrew)
source ./setup/setup-homebrew.sh
;;
shell)
source ./setup/setup-shell.sh
;;
terminfo)
source ./setup/setup-terminfo.sh
;;
macos)
source ./setup/setup-macos.sh
;;
purge)
source ./setup/clean-setup.sh
;;
scripts)
source ./setup/setup-scripts.sh
;;
all)
source ./setup/setup-symlinks.sh
source ./setup/setup-terminfo.sh
source ./setup/setup-homebrew.sh
source ./setup/setup-shell.sh
source ./setup/setup-git.sh
source ./setup/setup-macos.sh
source ./setup/setup-scripts.sh
source ./setup/setup-neovim.sh
;;
*)
echo $"\nUsage: $(basename "$0") {backup|link|git|nvim|homebrew|shell|terminfo|macos|scripts|purge|all}\n"
exit 1
;;
esac
success "Done."