mirror of
https://github.com/amix/vimrc
synced 2025-07-05 07:25:00 +08:00
Copy sources_non_forked contents to cache folder if cache folder does not exist yet
This commit is contained in:
@ -10,6 +10,9 @@
|
||||
""""""""""""""""""""""""""""""
|
||||
let s:vim_runtime = expand('<sfile>:p:h')."/.."
|
||||
call pathogen#infect(s:vim_runtime.'/sources_forked/{}')
|
||||
if !isdirectory(s:vim_runtime.'/sources_non_forked_cache')
|
||||
call system("cp -r " . s:vim_runtime.'/sources_non_forked' . " " . s:vim_runtime.'/sources_non_forked_cache')
|
||||
endif
|
||||
call pathogen#infect(s:vim_runtime.'/sources_non_forked_cache/{}')
|
||||
call pathogen#infect(s:vim_runtime.'/my_plugins/{}')
|
||||
call pathogen#helptags()
|
||||
|
Reference in New Issue
Block a user