From 3ec20a730d1c6485ab28704f930a61c6ba426b27 Mon Sep 17 00:00:00 2001 From: Holden Date: Fri, 28 Dec 2018 12:35:57 -0500 Subject: address PR feedback by fixing docs and hardcoding bash to use -c on fish and pwsh environments --- doc/ale.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc/ale.txt') diff --git a/doc/ale.txt b/doc/ale.txt index f6063718..7b5fa624 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1999,6 +1999,12 @@ g:ale_shell *g:ale_shell* commands. This variables defaults to the value of the vim option '&shell' which corresponds to the $SHELL environment variable. For example if `$SHELL == '/bin/bash'`, but you want to use zsh, set `g:ale_shell = '/bin/zsh'.` + If this option is set to either `fish` or `pwsh` (either by default or set + with this command), ale will still execute commands with `bin/sh`. + + Please note - if you are using this option you should consider additionally + setting `g:ale``g:ale_shell_arguments` since the default values for that + option might be incompatable with the newly set shell. g:ale_shell_arguments *g:ale_shell_arguments* @@ -2007,7 +2013,8 @@ g:ale_shell_arguments *g:ale_shell_arguments* This variable is used to determine what commands vim will pass to the shell to execute it's commands. By default, `&shellcmdflag` would be set to the - value of '`-c'`. + value of '`-c'`. Similar to `g:ale_shell`, if the shell is set to either + `fish` or `pwsh`, `g:ale_shell_arguments` will no be used. ------------------------------------------------------------------------------- 6.1. Highlights *ale-highlights* -- cgit v1.2.3