myshellconfig/bin/vim-plugins-install

13 lines
311 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:22:42 +01:00
git submodule add $url vim/pack/${type}/$(basename ${url%.git})
2020-10-30 01:10:33 +01:00
;;
remove)
2020-10-30 01:22:42 +01:00
git submodule-remove vim/pack/${type}/$(basename ${url%.git})
2020-10-30 01:10:33 +01:00
;;
esac
done