mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
feat: add known Python extensions/folder
This commit is contained in:
parent
47fc0088d1
commit
d1be7ac1d2
|
@ -29,7 +29,7 @@ func (p *python) init(props *properties, env environmentInfo) {
|
|||
props: props,
|
||||
commands: []string{"python", "python3"},
|
||||
versionParam: "--version",
|
||||
extensions: []string{"*.py", "*.ipynb"},
|
||||
extensions: []string{"*.py", "*.ipynb", "pyproject.toml", "venv.bak", "venv", ".venv"},
|
||||
versionRegex: `Python (?P<version>[0-9]+.[0-9]+.[0-9]+)`,
|
||||
loadContext: p.loadContext,
|
||||
inContext: p.inContext,
|
||||
|
|
Loading…
Reference in a new issue