mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
Copy sources_non_forked contents to cache folder if cache folder does not exist yet
This commit is contained in:
parent
378168c979
commit
51f8a2a9a3
@ -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 New Issue
Block a user