【问题标题】:JetBrains Rider new bash terminal in working directory on Windows with WSLJetBrains Rider 在带有 WSL 的 Windows 工作目录中的新 bash 终端
【发布时间】:2021-01-21 16:14:29
【问题描述】:

在 WSL 中使用 JetBrains Rider 和带有 Ubuntu 的 Windows 10。

当我使用 Windows cmd.exe 作为 Rider 中集成终端的 shell 路径时,我从打开的解决方案/文件夹的当前目录开始。

如果我使用 ubuntu2004 作为 shell 路径,我会启动一个 bash。但该目录始终是 home/"Username"。我必须手动更改它。

有没有办法用当前目录启动终端/bash。

【问题讨论】:

  • 不确定骑手,但 intellij 在终端设置中有“开始目录”选项。为我工作 wsl.exe 作为默认终端。否则有一些插件,如 openTerminalHere,可能会有所帮助

标签: bash ubuntu windows-subsystem-for-linux rider


【解决方案1】:

使用“wsl.exe”作为shell路径让终端从当前目录启动。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-31
    • 1970-01-01
    • 1970-01-01
    • 2017-11-11
    • 2016-09-09
    相关资源
    最近更新 更多