diff options
author | typebrook <typebrook@gmail.com> | 2019-04-08 18:41:00 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-04-08 18:41:00 +0800 |
commit | 775813fcbdf7278847b95fb65e010c9251665b5a (patch) | |
tree | 8a42b2e1380630c15040123314d837628fd66caa /Makefile | |
parent | af621691177d42e8c939ba33eb464b0b82c33cd3 (diff) |
update
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -1,10 +1,10 @@ | |||
1 | all: apply-alias apply-vim apply-git apply-tig | 1 | all: alias vim git tig |
2 | 2 | ||
3 | apply-alias: | 3 | 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 | 6 | ||
7 | apply-vim: | 7 | vim: |
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 | ||
20 | apply-git: | 20 | wiki: |
21 | # vimwiki | ||
22 | if [ ! -d "$(HOME)/.vimwiki" ]; then \ | ||
23 | git clone --depth=1 https://github.com/typebrook/wiki.git ~/.vimwiki && \ | ||
24 | fi | ||
25 | |||
26 | git: | ||
21 | rm -f ~/.gitconfig | 27 | rm -f ~/.gitconfig |
22 | ln -s `pwd`/gitconfig ~/.gitconfig | 28 | ln -s `pwd`/gitconfig ~/.gitconfig |
23 | 29 | ||
24 | apply-tig: | 30 | tig: |
25 | rm -f ~/.tigrc | 31 | rm -f ~/.tigrc |
26 | ln -s `pwd`/tigrc ~/.tigrc | 32 | ln -s `pwd`/tigrc ~/.tigrc |
27 | 33 | ||