Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If [command] is not given the 'shell' option is used.
- let l:terms = term_list()
- let l:bufname = empty(l:terms) ? '' : bufname(l:terms[-1])
- let l:shell = substitute(l:bufname, '^!', '', 'g')
Add Comment
Please, Sign In to add comment