Skip to content

change terminal.detect_venv to "off" in default.json #17420

@MayCXC

Description

@MayCXC

Check for existing issues

  • Completed

Describe the feature

It is very common for 12fa programs to have a env directory that is not a python venv, which causes this to display when the integrated terminal is opened:

user@host dir % source /project/env/bin/activate
source: no such file or directory: /project/env/bin/activate

zed users who want this to be their default terminal behavior can configure their shell profile accordingly, and otherwise it is possible that zed will unexpectedly execute scripts downloaded from the internet without their confirmation. instead, a dialogue could display to enable detect_venv when terminal is opened in a project for the first time.

If applicable, add mockups / screenshots to help present your vision of the feature

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:integrations/terminalFeedback for terminal integration, shell commands, etcarea:languages/pythonPython programming language supportarea:security & privacyData privacy issue, security vulnerabilities, etcbugDEPRECATED label: use issue type 'Bug' insteadstaleLabel used by `stale` action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions