This commit is contained in:
Adam Stankiewicz
2016-06-17 20:47:16 +02:00
parent 44b3d860cb
commit 40c54bc12b
10 changed files with 347 additions and 350 deletions

View File

@@ -348,7 +348,7 @@ function! s:RmDir(path)
echoerr 'Attempted to delete protected path: ' . a:path
return 0
endif
silent exe "!rm -rf " . shellescape(a:path)
return system("rm -rf " . shellescape(a:path))
endfunction
" Executes {cmd} with the cwd set to {pwd}, without changing Vim's cwd.