Skip to content

Commit 6fc97de

Browse files
committed
check the shell on windows
1 parent 7140122 commit 6fc97de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autoload/ctrlp.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ fu! s:UserCmd(lscmd)
425425
let do_ign =
426426
\ type(s:usrcmd) == 4 && has_key(s:usrcmd, 'ignore') && s:usrcmd['ignore']
427427
if do_ign && ctrlp#igncwd(s:cwd) | retu | en
428-
if exists('+ssl') && &ssl
428+
if exists('+ssl') && &ssl && &shell !~ 'sh'
429429
let [ssl, &ssl, path] = [&ssl, 0, tr(path, '/', '\')]
430430
en
431431
if (has('win32') || has('win64')) && match(&shellcmdflag, "/") != -1

0 commit comments

Comments
 (0)