-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall_shell.sh
executable file
·50 lines (40 loc) · 1.18 KB
/
install_shell.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
#!/bin/bash
###############
# Shell setup #
###############
echo "Setting base16 up..."
echo
git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell
if is_osx; then
brew tap chrokh/tap
brew install base16-manager
fi
source $HOME/.bash_profile
base16_oceanicnext
echo "Setting tmux up..."
echo
if is_osx; then
echo "Installing tmux through brew..."
echo
brew install tmux
else
echo "Can't automatically install tmux for the current OS."
echo
fi
# Install tpm
git clone https://github.com/tmux-plugins/tpm $HOME/.tmux/plugins/tpm
echo "Setting zsh up..."
echo
if is_osx; then
echo "Installing zsh through brew..."
echo
brew install zsh zsh-completions
curl -L https://iterm2.com/misc/zsh_startup.in -o $HOME/.iterm2_shell_integration.zsh
else
echo "Can't automatically install zsh for the current OS. Please visit https://gist.github.com/derhuerst/12a1558a4b408b3b2b6e for manual instructions."
echo
fi
# Install zim
git clone --recursive https://github.com/zimfw/zimfw.git ${ZDOTDIR:-${HOME}}/.zim
# Install zplug
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh