mirror of
https://github.com/dense-analysis/ale.git
synced 2026-11-14 16:02:56 +08:00
address PR feedback by fixing docs and hardcoding bash to use -c on fish and pwsh environments
This commit is contained in:
1 parent
c499825a0b
commit
3ec20a730d
2 files changed
+9
-2
No files matched your search
@@ -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