-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·56 lines (42 loc) · 1.3 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
#!/bin/bash
echo "Installing dotfiles"
echo "Initializing submodule(s)"
git submodule update --init --recursive
if [ "$(uname)" = "Linux" ]; then
echo "Installing all linux cli tools"
source install/apt-get.sh
source install/tmux.sh
source install/ruby.sh
fi
if [ "$(uname)" = "Darwin" ]; then
echo "Running on OSX"
echo "Brewing all the things"
source install/brew.sh
echo "Updating OSX settings"
source installosx.sh
# echo "Installing node (from nvm)"
# source install/nvm.sh
# echo "Configuring nginx"
# create a backup of the original nginx.conf
# mv /usr/local/etc/nginx/nginx.conf /usr/local/etc/nginx/nginx.original
# ln -s ~/.dotfiles/nginx/nginx.conf /usr/local/etc/nginx/nginx.conf
# symlink the code.dev from dotfiles
# ln -s ~/.dotfiles/nginx/code.dev /usr/local/etc/nginx/sites-enabled/code.dev
fi
# echo "installing neovim"
# source install/nvim.sh
echo "creating all of the symlinks"
source install/link.sh
echo "installing fonts"
cd .config/fonts
./install.sh
cd ../..
echo "creating vim directories"
mkdir -p ~/.vim-tmp
echo "Configuring zsh as default shell"
chsh -s $(which zsh)
echo "importing eighties dark terminal theme on OSX"
if [ "$(uname)" = "Darwin" ]; then
open .config/base16-eighties.dark.terminal
fi
echo "Done."