Skip to content

login shell in integrated terminal stopped working on 1.75.0 #173277

@bluebrown

Description

@bluebrown

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.75.0
  • OS Version: Linux WDE-N-W0410 5.15.79.1-microsoft-standard-WSL2 x86_64 GNU/Linux

Steps to Reproduce:

After updating vscode to 1.75.0, yesterday. The below config is not working anymore. Before that, I would get my configurations bound to running a login shell.

  "terminal.integrated.profiles.linux": {
        "bash": {
            "path": "bash",
            "icon": "terminal-bash",
            "args": [
                "-l"
            ]
        },
    },

Particularly, I use starship and have set this in ~/.bash_login. But my prompt is not using starship in vscode anymore.

cat ~/.bash_login 
#!/usr/bin/env bash

if [ -f "$HOME/.bashrc" ]; then
  . "$HOME/.bashrc"
fi

eval "$(starship init bash)"

eval "$(direnv hook bash)"

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugterminal-profilesterminal-shell-bashAn issue in the terminal specific to bash, including shell integrationverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions