mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-05 02:16:43 +00:00
Better detection of sh when bash is present
This commit is contained in:
parent
ba11b4e68e
commit
0a7865275f
@ -9,7 +9,7 @@ if &shell =~# 'fish$'
|
||||
endif
|
||||
|
||||
" Don't use sh if we have bash
|
||||
if &shell =~# '/sh$' && executable('bash')
|
||||
if &shell =~# '/sh$' || &shell =~# '^sh$' && executable('bash')
|
||||
set shell=bash
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user