From 65bfd3bed1d4514f28558726b34bdb091255b944 Mon Sep 17 00:00:00 2001 From: typebrook Date: Tue, 22 Jan 2019 00:03:03 +0800 Subject: update --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b8137ea..b592d8c 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,9 @@ -all: apply-alias apply-vim apply-tig +all: apply-alias apply-vim apply-git 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 && \ @@ -10,9 +11,15 @@ apply-vim: fi rm -f ~/.vim_runtime/my_configs.vim ln -s `pwd`/vimrc ~/.vim_runtime/my_configs.vim + +apply-git: + rm -f ~/.gitconfig + ln -s `pwd`/gitconfig ~/.gitconfig + apply-tig: rm -f ~/.tigrc ln -s `pwd`/tigrc ~/.tigrc + push: git commit -am "update" git push -- cgit v1.2.3-70-g09d2