parent
150571becb
commit
9732427469
|
@ -863,7 +863,7 @@ function! s:create_last_session_link(spath)
|
||||||
let cmd = printf('ln -sf %s %s',
|
let cmd = printf('ln -sf %s %s',
|
||||||
\ shellescape(fnamemodify(a:spath, ':t')),
|
\ shellescape(fnamemodify(a:spath, ':t')),
|
||||||
\ shellescape(s:session_dir .'/__LAST__'))
|
\ shellescape(s:session_dir .'/__LAST__'))
|
||||||
silent! call system(cmd)
|
call system(cmd)
|
||||||
if v:shell_error
|
if v:shell_error
|
||||||
echomsg "startify: Can't create 'last used session' symlink."
|
echomsg "startify: Can't create 'last used session' symlink."
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue