aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-01-22 00:03:03 +0800
committertypebrook <typebrook@gmail.com>2019-01-22 00:03:03 +0800
commit65bfd3bed1d4514f28558726b34bdb091255b944 (patch)
treed194505f8b9c404564bf3d024812a7551bf99023
parent0be3a54e99767172a567523b7898f1eb75135ff5 (diff)
update
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b8137ea..b592d8c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
1all: apply-alias apply-vim apply-tig 1all: apply-alias apply-vim apply-git apply-tig
2 2
3apply-alias: 3apply-alias:
4 rm -f ~/.bash_aliases 4 rm -f ~/.bash_aliases
5 ln -s `pwd`/alias ~/.bash_aliases 5 ln -s `pwd`/alias ~/.bash_aliases
6
6apply-vim: 7apply-vim:
7 if [ ! -d "~/.vim_runtime" ]; then \ 8 if [ ! -d "~/.vim_runtime" ]; then \
8 git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime && \ 9 git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime && \
@@ -10,9 +11,15 @@ apply-vim:
10 fi 11 fi
11 rm -f ~/.vim_runtime/my_configs.vim 12 rm -f ~/.vim_runtime/my_configs.vim
12 ln -s `pwd`/vimrc ~/.vim_runtime/my_configs.vim 13 ln -s `pwd`/vimrc ~/.vim_runtime/my_configs.vim
14
15apply-git:
16 rm -f ~/.gitconfig
17 ln -s `pwd`/gitconfig ~/.gitconfig
18
13apply-tig: 19apply-tig:
14 rm -f ~/.tigrc 20 rm -f ~/.tigrc
15 ln -s `pwd`/tigrc ~/.tigrc 21 ln -s `pwd`/tigrc ~/.tigrc
22
16push: 23push:
17 git commit -am "update" 24 git commit -am "update"
18 git push 25 git push