-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
25 lines (21 loc) · 854 Bytes
/
Makefile
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
default: install
dependencies:
@command -v stow >/dev/null 2>&1 || brew install stow 2>/dev/null || sudo apt-get install -y stow 2>/dev/null || sudo yum install -y stow 2>/dev/null || { echo >&2 "Please install GNU stow"; exit 1; }
@command -v zsh >/dev/null 2>&1 || brew install zsh 2>/dev/null || sudo apt-get install -y zsh 2>/dev/null || sudo yum install -y zsh 2>/dev/null || { echo >&2 "Please install zsh"; exit 1; }
@command -v tmux >/dev/null 2>&1 || brew install tmux 2>/dev/null || sudo apt-get install -y tmux 2>/dev/null || sudo yum install -y tmux 2>/dev/null || { echo >&2 "Please install tmux"; exit 1; }
git submodule init
git submodule update
stow:
stow git
stow screen
stow tmux
stow vim
stow zsh
stow curl
stow ack
stow psql
stow ticker
stow multitail
chsh:
chsh -s `which zsh`
install: dependencies stow chsh