-
Notifications
You must be signed in to change notification settings - Fork 1
/
install
executable file
·39 lines (34 loc) · 1.01 KB
/
install
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
#!/usr/bin/env bash
#
# Run all dotfiles installers.
set -euf -o pipefail
my_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
system_uname=$(uname -a)
if [[ ${system_uname} == *"Ubuntu"* ]]; then
echo "Detected Ubuntu"
"${my_dir}/ubuntu/install"
"${my_dir}/ubuntu/apt/install"
"${my_dir}/ubuntu/google-chrome/install"
"${my_dir}/ubuntu/golang/install"
"${my_dir}/ubuntu/jq/install"
"${my_dir}/ubuntu/git-duet/install"
"${my_dir}/ubuntu/ruby-install/install"
"${my_dir}/ubuntu/chruby/install"
elif [[ ${system_uname} == *"Darwin"* ]]; then
echo "Detected OSX"
"${my_dir}/homebrew/install"
"${my_dir}/osx/install"
else
echo "Unrecognized system uname: ${system_uname} - exiting"
fi
"${my_dir}/alacritty/install"
"${my_dir}/fish/install"
"${my_dir}/git/install"
"${my_dir}/gpg/install"
"${my_dir}/bash/install"
"${my_dir}/powerline/install"
"${my_dir}/nvim/install"
"${my_dir}/ssh/install"
"${my_dir}/starship/install"
"${my_dir}/tmux/install"
echo "All installation scripts completed successfully"