aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-03-03 21:28:23 +0800
committertypebrook <typebrook@gmail.com>2019-03-03 21:28:23 +0800
commit4f11562d12d9e57167f8a021b885628490b62c67 (patch)
tree092428fc0ce9a3afaa24a4da534f0f470ee07f49
parent98bc08b1da020efbeb3397b1c735a8337377eb69 (diff)
update
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 47fe6bb..bebe78d 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,15 @@ apply-alias:
5 ln -s `pwd`/alias ~/.bash_aliases 5 ln -s `pwd`/alias ~/.bash_aliases
6 6
7apply-vim: 7apply-vim:
8 # amix-vimrc
8 if [ ! -d "$(HOME)/.vim_runtime" ]; then \ 9 if [ ! -d "$(HOME)/.vim_runtime" ]; then \
9 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 && \
10 sh ~/.vim_runtime/install_awesome_vimrc.sh; \ 11 sh ~/.vim_runtime/install_awesome_vimrc.sh; \
11 fi 12 fi
13 # vim-plug
14 curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
15 https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
16
12 rm -f ~/.vim_runtime/my_configs.vim 17 rm -f ~/.vim_runtime/my_configs.vim
13 ln -s `pwd`/vimrc ~/.vim_runtime/my_configs.vim 18 ln -s `pwd`/vimrc ~/.vim_runtime/my_configs.vim
14 19