Add activation script support for terminals/toolchains

This commit is contained in:
Lukas Wirth 2025-08-19 11:39:08 +02:00
parent 7b3d73d6fd
commit 8e11e6a03e
11 changed files with 98 additions and 32 deletions

View file

@ -878,6 +878,8 @@ impl ToolchainLister for PythonToolchainProvider {
path: toolchain.executable.as_ref()?.to_str()?.to_owned().into(),
language_name: LanguageName::new("Python"),
as_json: serde_json::to_value(toolchain).ok()?,
startup_script: std::iter::once(("fish".to_owned(), "test".to_owned()))
.collect(),
})
})
.collect();