myshellconfig/bin/vim-plugins-install

13 lines
323 B
Text
Raw Normal View History

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