Add support for UV (Python virtual env) #5629
Unanswered
voltuer
asked this question in
Troubleshoot
Replies: 4 comments
|
Does setting |
0 replies
@lewis-yeung i don't know how to apply that, i'm using powershell and ´export´ is not a valid command |
0 replies
@voltuer Aha, I didn't notice that. The command is just setting an environment variable. For PowerShell you should add |
0 replies
|
@voltuer as @lewis-yeung stated, you need to disable the default built-in prompt. Next up is adding the Python segment as the default config doesn't have that one. Have a look at the documentation on how to configure that. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Code of Conduct
What would you like to see added?
Hello. I use UV to manage my Python projects, which is very popular (31k stars in github)
When I'm on WSL, ohmyzsh recognizes it perfectly:

But when I'm on PWSH it does not:

The main problem with this, beside the bad UI experience, is that when the prompt is long, it moves down and takes 2 lines:

I'd love to fix this myself but I can't figure out how. I think the ideal panorama would be to show the name besides the python icon and not at the begining of the line, like OMZ does, and make it use just 1 line
All reactions