fetch and replace in single run
This commit is contained in:
parent
b85b45b80f
commit
749ec129da
@ -29,8 +29,8 @@ endf
|
|||||||
|
|
||||||
func! s:fetch_scripts(to)
|
func! s:fetch_scripts(to)
|
||||||
let temp = tempname()
|
let temp = tempname()
|
||||||
exec '!curl http://vim-scripts.org/api/scripts.json > '.temp
|
exec '!curl http://vim-scripts.org/api/scripts.json > '.temp.
|
||||||
exec '!mkdir -p $(dirname '.a:to.') && mv -f '.temp.' '.a:to
|
\ '&& mkdir -p $(dirname '.a:to.') && mv -f '.temp.' '.a:to
|
||||||
endf
|
endf
|
||||||
|
|
||||||
func! s:load_scripts(bang)
|
func! s:load_scripts(bang)
|
||||||
|
Loading…
Reference in New Issue
Block a user