Merge pull request #1170 from blueyed/dont-call-expand-on-shellvar
Do not `expand()` shell vars
This commit is contained in:
commit
d69858cc02
@ -57,7 +57,7 @@ function! s:GetShell()
|
|||||||
endif
|
endif
|
||||||
" try to use env variable in case no shebang could be found
|
" try to use env variable in case no shebang could be found
|
||||||
if b:shell == ''
|
if b:shell == ''
|
||||||
let b:shell = fnamemodify(expand('$SHELL'), ':t')
|
let b:shell = fnamemodify($SHELL, ':t')
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
return b:shell
|
return b:shell
|
||||||
|
Loading…
Reference in New Issue
Block a user