LoginSignup
3
2

More than 3 years have passed since last update.

vscode 1.56.0へアップデートしたら、remoteでLinuxにsshしたときに、.bash_profileの設定が読み込まれなくなった

Posted at

vscode 1.56.0へアップデートしたら、remoteでLinuxにsshしたときに、ログインシェルが起動せず、.bash_profileの設定が読み込まれなくなった。

以前以下のように設定していたのが、deprecatedになったらしい。

settings.json
"terminal.integrated.shellArgs.linux": [
    "-l"
]

この設定を改めて以下のようにする必要がある。

settings.json
"terminal.integrated.profiles.linux": {
    "bash (login)": {
        "path": "bash",
        "args": ["-l"]
    }
}

この設定方法は以下に記載がある。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2