Tests: add session.vader

This commit is contained in:
Marco Hinz 2016-02-02 13:35:34 +01:00
parent 9e296c31d9
commit 1c1c3abb80
7 changed files with 27 additions and 3 deletions

View file

@ -756,7 +756,7 @@ endfunction
function! s:create_last_session_link(spath)
if !has('win32') && a:spath !~# '__LAST__$'
let cmd = printf('ln -sf %s %s',
\ shellescape(a:spath),
\ shellescape(fnamemodify(a:spath, ':t')),
\ shellescape(s:session_dir .'/__LAST__'))
silent! call system(cmd)
if v:shell_error