mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-07 02:11:05 +08:00
Fix #1495 - Fall back to /bin/sh when shell=pwsh
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user