aboutsummaryrefslogtreecommitdiff
path: root/plugin/max-find-bash.vim
blob: 29cb7c376bb308f1760357fd460abc2469855dac (plain)
1
2
3
4
5
6
7
8
9
10
11
"=======================================================================================================================
" SHELL:
" Many scripts rely on bash. We help to find the bash binary
"=======================================================================================================================
if filereadable("/bin/bash")
    set shell=/bin/bash
elseif filereadable("/usr/local/bin/bash")
    set shell=/usr/local/bin/bash
elseif has("win32")
    set shell = 'cmd.exe'
endif
..