Copy sources_non_forked contents to cache folder if cache folder does not exist yet
This commit is contained in:
parent
378168c979
commit
51f8a2a9a3
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue