LoginSignup
4

More than 5 years have passed since last update.

VSCodeのターミナルをWSLのbashにしたとき、カレントディレクトリを表示できなかった

Posted at

最初以下のように指定していた

"terminal.integrated.shell.windows": "C:\\Users\\user\\AppData\\Local\\Microsoft\\WindowsApps\\ubuntu.exe"

問題なく起動するが、プロジェクトのカレントディレクトリで起動してくれない。不便。

だが、これは指定方法が間違っていたようだ。

"terminal.integrated.shell.windows": "C:\\Windows\\System32\\bash.exe"

これで解決。

参考

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
4