Extend activation highlighting to entire command (#2070)

## Summary

In `source .venv/bin/activate`, _only_ `.venv` is colored cyan.

![Screenshot 2024-02-28 at 8 17
32 PM](2acc16f9-4de2-4cd9-9216-8348cf896d36)
This commit is contained in:
Charlie Marsh 2024-02-28 20:27:35 -05:00 committed by GitHub
parent 1bc5485094
commit f315d07133
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 47 additions and 40 deletions

View file

@ -29,7 +29,7 @@ pub fn find_requested_python(
platform: &Platform,
cache: &Cache,
) -> Result<Option<Interpreter>, Error> {
debug!("Starting interpreter discovery for Python {}", request);
debug!("Starting interpreter discovery for Python @ `{request}`");
let versions = request
.splitn(3, '.')
.map(str::parse::<u8>)