Do not enable venv in terminal for bash-like oneshot task invocations (#8444)
Release Notes: - Work around #8334 by only activating venv in the terminal not in tasks (see #8440 for a proper solution) - To use venv modify your tasks in the following way: ```json { "label": "Python main.py", "command": "sh", "args": ["-c", "source .venv/bin/activate && python3 main.py"] } ``` --------- Co-authored-by: Kirill Bulatov <kirill@zed.dev>
This commit is contained in:
parent
cd61297740
commit
85fdcef564
4 changed files with 109 additions and 49 deletions
|
@ -15,7 +15,7 @@ doctest = false
|
|||
|
||||
[dependencies]
|
||||
# TODO: when new version of this crate is released, change it
|
||||
alacritty_terminal = { git = "https://github.com/alacritty/alacritty", rev = "992011a4cd9a35f197acc0a0bd430d89a0d01013" }
|
||||
alacritty_terminal = "0.23.0-rc1"
|
||||
anyhow.workspace = true
|
||||
collections.workspace = true
|
||||
dirs = "4.0.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue