-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·59 lines (45 loc) · 1.34 KB
/
install.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
#!/bin/bash
echo 'You are about to install the dot-files and other cool stuff.'
read -p 'Continue? ' -n 1 -r
echo #
if [[ ! $REPLY =~ ^[Yy]$ ]]
then
exit 1
fi
backup() {
./backup.sh
}
install() {
echo "Installing brew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "Installing brew modules"
echo #
(cd brew; install.sh)
echo "Installing gem modules"
echo #
(cd gem; install.sh)
echo "Installing phive modules"
echo #
(cd phive; install.sh)
# oh-my-zsh
echo "oh-my-zsh"
wget -O - https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh - && $0
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
git clone git://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
# git tools
echo "Installing git tools"
echo #
wget -O - https://raw.github.com/jamiew/git-friendly/master/install.sh | sh - && $0
# Symfony CLI
echo "Symfony CLI"
echo #
wget -O - https://get.symfony.com/cli/installer | bash
# Rich Enhanced Shell History
wget -O - https://raw.githubusercontent.com/curusarn/resh/master/scripts/rawinstall.sh | bash
}
symlink() {
./create-symlinks.sh
}
backup
install
symlink