myshellconfig/bin/vim-plugins-install
2020-10-30 01:47:04 +01:00

12 lines
323 B
Bash
Executable file

#!/bin/bash
grep -v "^\"" vimplugins |while read cmd type url;do
case $cmd in
install)
git submodule add $url vim/pack/${type}/start/$(basename ${url%.git})
;;
remove)
git submodule-remove vim/pack/${type}/start/$(basename ${url%.git})
;;
esac
done