I have Visual Studio Code installed in flatpak, I run it with:

flatpak run --command=sh com.visualstudio.code

I want to change the shell to zsh, but I can't find how to, I tried multiple thing in my settings.json:

"terminal.integrated.shell.linux": "/usr/bin/flatpak-spawn",
"terminal.integrated.shellArgs.linux": ["--host", "run", "env", "TERM=xterm-256color", "zsh"],


"terminal.integrated.profiles.linux": {
    "bash": {
        "path": "/usr/bin/flatpak-spawn",
        "args": ["--host", "--env=TERM=xterm-256color", "zsh"]

None works.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.