-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·22 lines (18 loc) · 836 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CONFIGDIR=$(HOME)/dotfiles
.PHONY: ohmyzsh brew link source
# install oh-my-zsh && syntax highlighting plugin
all:
mkdir ~/.vim/.swp
source ~/.zshrc
ohmyzsh:
sh -c "$$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH}/custom/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
link:
ln -fs $(CONFIGDIR)/vimrc $(HOME)/.vimrc
ln -fs $(CONFIGDIR)/zshrc $(HOME)/.zshrc
ln -fs $(CONFIGDIR)/gitconfig $(HOME)/.gitconfig
ln -fs $(CONFIGDIR)/tmux/tmux.conf $(HOME)/.tmux.conf
ln -Fs $(CONFIGDIR)/irssi $(HOME)/.irssi
ln -Fs $(CONFIGDIR)/weechat $(HOME)/.weechat
ln -Fs $(CONFIGDIR)/xprofile $(HOME)/.xprofile