What I want to achieve is using zsh in "output" pane whenever I run a Task in VSCode, but it keep using /bin/sh
instead.
The "Terminal" pane is using zsh correctly though.
Here's my configurations:
➜ ~ echo $SHELL
/bin/zsh
➜ ~ which zsh
/bin/zsh
tasks.json
{
"version": "0.1.0",
"command": "echo Im $0",
"suppressTaskName": true,
"isShellCommand": {
"executable": "/bin/zsh"
},
"showOutput": "always",
"tasks": [
{
"taskName": "Test",
"args": ["test"]
}
]
}
And the output when I run the Task is:
Im /bin/sh