Skip to content

Commit c17aa4f

Browse files
committed
Disable PATH enforcement on funky Windows setups
Closes #343
1 parent ed755b7 commit c17aa4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ftplugin/ruby.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ endif
6969

7070
function! s:query_path(root) abort
7171
let code = "print $:.join %q{,}"
72-
if &shell =~# 'sh'
72+
if &shell =~# 'sh' && empty(&shellxquote)
7373
let prefix = 'env PATH='.shellescape($PATH).' '
7474
else
7575
let prefix = ''

0 commit comments

Comments
 (0)