summaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: b8137eafd71a7d1cf3ad3760afe536a60413df47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all: apply-alias apply-vim apply-tig

apply-alias:
	rm -f ~/.bash_aliases
	ln -s `pwd`/alias ~/.bash_aliases
apply-vim:
	if [ ! -d "~/.vim_runtime" ]; then \
        git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime && \
        sh ~/.vim_runtime/install_awesome_vimrc.sh; \
	fi
	rm -f ~/.vim_runtime/my_configs.vim
	ln -s `pwd`/vimrc ~/.vim_runtime/my_configs.vim
apply-tig:
	rm -f ~/.tigrc
	ln -s `pwd`/tigrc ~/.tigrc
push:
	git commit -am "update"
	git push