mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
feat: Enable the python module in virtual envs (#584)
This will enable the python module when a virtual environment has been activated, this is detected via the `VIRTUAL_ENV` env var.
This commit is contained in:
committed by
Matan Kushner
parent
fa1267f12f
commit
42f6868e3f
@@ -831,6 +831,7 @@ The module will be shown if any of the following conditions are met:
|
||||
- The current directory contains a file with the `.py` extension
|
||||
- The current directory contains a `Pipfile` file
|
||||
- The current directory contains a `tox.ini` file
|
||||
- A virtual environment is currently activated
|
||||
|
||||
### Options
|
||||
|
||||
|
||||
Reference in New Issue
Block a user