mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-05 02:16:43 +00:00
Use bash as vim shell if available
This commit is contained in:
parent
302d5816dd
commit
88f5da156e
@ -5,7 +5,12 @@ if !1 | finish | endif
|
||||
|
||||
" Don't use fish as the default shell. This makes things weird
|
||||
if &shell =~# 'fish$'
|
||||
set shell=sh
|
||||
set shell=bash
|
||||
endif
|
||||
|
||||
" Don't use sh if we have bash
|
||||
if &shell =~# '/sh$' && executable('bash')
|
||||
set shell=bash
|
||||
endif
|
||||
|
||||
function! s:smart_source_rc(name)
|
||||
|
Loading…
Reference in New Issue
Block a user