dotfiles/bin/vim-upgrade

9 lines
208 B
Plaintext
Raw Normal View History

UPDATE_FILE=~/.vim/updated
[ -f ${UPDATE_FILE} ] || touch -t 197001010000 ${UPDATE_FILE}
find ${UPDATE_FILE} -mtime +0 -exec bash -c "\
vim +PluginInstall! +PluginClean! +qall
" \;
touch ${UPDATE_FILE}