mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-09 19:21:33 +08:00
address PR feedback by fixing docs and hardcoding bash to use -c on fish and pwsh environments
This commit is contained in:
@@ -195,7 +195,7 @@ function! ale#job#PrepareCommand(buffer, command) abort
|
||||
endif
|
||||
|
||||
if g:ale_shell =~? 'fish$\|pwsh$'
|
||||
return ['/bin/sh', g:ale_shell_arguments, l:command]
|
||||
return ['/bin/sh', '-c', l:command]
|
||||
endif
|
||||
|
||||
return [g:ale_shell] + split(g:ale_shell_arguments) + [l:command]
|
||||
|
||||
Reference in New Issue
Block a user