aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-04-08 18:41:00 +0800
committertypebrook <typebrook@gmail.com>2019-04-08 18:41:00 +0800
commit775813fcbdf7278847b95fb65e010c9251665b5a (patch)
tree8a42b2e1380630c15040123314d837628fd66caa /Makefile
parentaf621691177d42e8c939ba33eb464b0b82c33cd3 (diff)
update
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index bebe78d..45e0bed 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
1all: apply-alias apply-vim apply-git apply-tig 1all: alias vim git tig
2 2
3apply-alias: 3alias:
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 6
7apply-vim: 7vim:
8 # amix-vimrc 8 # amix-vimrc
9 if [ ! -d "$(HOME)/.vim_runtime" ]; then \ 9 if [ ! -d "$(HOME)/.vim_runtime" ]; then \
10 git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime && \ 10 git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime && \
@@ -17,11 +17,17 @@ apply-vim:
17 rm -f ~/.vim_runtime/my_configs.vim 17 rm -f ~/.vim_runtime/my_configs.vim
18 ln -s `pwd`/vimrc ~/.vim_runtime/my_configs.vim 18 ln -s `pwd`/vimrc ~/.vim_runtime/my_configs.vim
19 19
20apply-git: 20wiki:
21 # vimwiki
22 if [ ! -d "$(HOME)/.vimwiki" ]; then \
23 git clone --depth=1 https://github.com/typebrook/wiki.git ~/.vimwiki && \
24 fi
25
26git:
21 rm -f ~/.gitconfig 27 rm -f ~/.gitconfig
22 ln -s `pwd`/gitconfig ~/.gitconfig 28 ln -s `pwd`/gitconfig ~/.gitconfig
23 29
24apply-tig: 30tig:
25 rm -f ~/.tigrc 31 rm -f ~/.tigrc
26 ln -s `pwd`/tigrc ~/.tigrc 32 ln -s `pwd`/tigrc ~/.tigrc
27 33