bash-language-server
bash-language-server copied to clipboard
Why even my $PATH contains path to `shellcheck` it doesn't work out of the box?
-
$PATH
=/home/emilyseville7cfg/.dotnet:/home/emilyseville7cfg/.local/bin:/home/emilyseville7cfg/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
-
which shellcheck
=/usr/bin/shellcheck
But when I open any .sh script I obtain no linting:
The workaround is:
// Settings in here override those in "LSP-bash/LSP-bash.sublime-settings"
{
"env": {
"SHELLCHECK_PATH": "/usr/bin/shellcheck"
}
}