Fix #1495 - Fall back to /bin/sh when shell=pwsh

This commit is contained in:
w0rp
2018-04-12 21:01:35 +01:00
parent 0cd8e8630b
commit a0aa9aa9b7
2 changed files with 18 additions and 1 deletions

View File

@@ -208,7 +208,7 @@ function! ale#job#PrepareCommand(buffer, command) abort
return 'cmd /s/c "' . l:command . '"'
endif
if &shell =~? 'fish$'
if &shell =~? 'fish$\|pwsh$'
return ['/bin/sh', '-c', l:command]
endif