summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-04-12 21:01:35 +0100
committerw0rp <devw0rp@gmail.com>2018-04-12 21:01:35 +0100
commita0aa9aa9b721a73e81dd0091f37826d5e8a336d2 (patch)
treece04033757cecd83120f8897bd76ae4882ac693e /autoload
parent0cd8e8630b69613df3a2a65fdd830364de157129 (diff)
downloadale-a0aa9aa9b721a73e81dd0091f37826d5e8a336d2.zip
Fix #1495 - Fall back to /bin/sh when shell=pwsh
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/job.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/job.vim b/autoload/ale/job.vim
index 2711e99f..33040bbf 100644
--- a/autoload/ale/job.vim
+++ b/autoload/ale/job.vim
@@ -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