-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·54 lines (39 loc) · 1.02 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
#!/bin/bash
echo "Installing dotfiles"
echo "Initializing submodule(s)"
git submodule update --init --recursive
source install/link.sh
if [ "$(uname)" == "Darwin" ]; then
echo "Running on OSX"
echo "Brewing all the things"
source install/brew.sh
fi
if [ "$(uname)" == "Linux" ]; then
if which apt &>/dev/null; then
source install/apt.sh
fi
if which systemctl &>/dev/null; then
source install/systemd.sh
fi
source install/rust.sh
fi
echo "Install latex helpers"
source install/latex.sh
echo "Making untracked local config files"
touch ~/.local_zshrc
touch ~/.local_vimrc
touch ~/.local_tmux.conf
touch ~/.local_gitconfig
echo "Enabling hg extentions"
source install/mercurial.sh
echo "Installing all pipx tools"
source install/pipx.sh
echo "Installing all ruby tools"
source install/ruby.sh
echo "Installing all npm tools"
source install/npm.sh
echo "Installing tmux terminfo"
tic tmux/tmux-256color.terminfo
echo "Configuring zsh as default shell"
chsh -s $(which zsh)
echo "Done."