Skip to content

Windows: Doesn't activate virtualenv in WSL terminal #40263

@klonuo

Description

@klonuo

Summary

Hi,

I have these project settings for a project in WSL:

{
  "terminal": {
    "shell": {
      "with_arguments": {
        "program": "wsl",
        "args": [
          "--shell-type",
          "login",
          "--cd",
          "\\\\wsl.localhost\\Ubuntu-20.04\\home\\klo\\projects\\api"
        ]
      }
    },
    "detect_venv": {
      "on": {
        "directories": [".venv"],
        "activate_script": "default"
      }
    }
  }
}

However when the terminal starts it does not activate venv, and before the shell starts it print these lines:

conda activate base
clear

Why it is doing that, I don't even have conda installed?

Zed Version and System Specs

Zed Dev 0.210.0
635b71c

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions