-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.sh
executable file
·37 lines (30 loc) · 864 Bytes
/
init.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
#!/bin/bash
# Oh My Zsh
if [ ! -d ~/.oh-my-zsh ]; then
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
else
echo oh-my-zsh already installed
fi
# Vim Undodir
mkdir -p ~/.vim/undo
# TPM
if [ ! -d ~/.tmux/plugins/tpm ]; then
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
else
echo tpm already installed
fi
# Gnome-terminal: set solarized
if [ ! -d gnome-terminal-colors-solarized ]; then
git clone https://github.com/aruhier/gnome-terminal-colors-solarized.git
fi
# Auto-install script
cd gnome-terminal-colors-solarized
echo "3
1
YES" | ./install.sh
cd ..
rm -rf gnome-terminal-colors-solarized
# Symlink all dotfiles
echo symlinking dotfiles...
./symlink.sh