diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-09-28 21:41:47 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-09-28 21:41:47 +1300 |
commit | 4aa7a02a8ba626d5b5d743f4272e7b17a23b8dc5 (patch) | |
tree | d7b9d677513de4dc8627572a3a60d3377472680e /Makefile | |
parent | Use a relative symlink (diff) | |
download | dotfiles-4aa7a02a8ba626d5b5d743f4272e7b17a23b8dc5.tar.gz dotfiles-4aa7a02a8ba626d5b5d743f4272e7b17a23b8dc5.zip |
Remove/install/clean plugins individually
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -100,8 +100,11 @@ install-vim : install -m 0644 vim/after/ftplugin/* $(HOME)/.vim/after/ftplugin install -m 0644 vim/after/plugin/* $(HOME)/.vim/after/plugin git submodule update --init - cp -fR vim/bundle/* $(HOME)/.vim/bundle - rm -fr $(HOME)/.vim/bundle/*/.git* + for plugin in vim/bundle/* ; do \ + rm -fr $(HOME)/.vim/bundle/"$${plugin##*/}" ; \ + cp -r "$$plugin" $(HOME)/.vim/bundle ; \ + rm -fr $(HOME)/.vim/bundle/"$${plugin##*/}"/.git* ; \ + done rm -f $(HOME)/.vim/autoload/pathogen.vim ln -s ../bundle/pathogen/autoload/pathogen.vim \ $(HOME)/.vim/autoload/pathogen.vim |