Skip to content

Commit d663f4d

Browse files
committed
Avoid Press-ENTER prompt on system()
Fixes #460
1 parent 85ca0a1 commit d663f4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/startify.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ function! s:create_last_session_link(session_path)
10541054
let cmd = printf('ln -sf %s %s',
10551055
\ shellescape(fnamemodify(a:session_path, ':t')),
10561056
\ shellescape(s:session_dir .'/__LAST__'))
1057-
call system(cmd)
1057+
silent call system(cmd)
10581058
if v:shell_error
10591059
call s:warn("Can't create 'last used session' symlink.")
10601060
endif

0 commit comments

Comments
 (0)