Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uv venv and uv sync has different default shell prompts #7049

Closed
leddy231 opened this issue Sep 4, 2024 · 2 comments
Closed

uv venv and uv sync has different default shell prompts #7049

leddy231 opened this issue Sep 4, 2024 · 2 comments

Comments

@leddy231
Copy link

leddy231 commented Sep 4, 2024

uv venv creates a .venv where the default shell prompt is the name of the current folder. Nice!
uv sync creates a .venv (if there is none) where the default shell prompt is just (.venv). Confusing for monorepos.
And uv sync does not allow specifying the prompt when invoking.

Its a bit odd that they have different defaults, and personally I think the folder name as the default prompt is the better option.

@tpgillam
Copy link

tpgillam commented Sep 4, 2024

I just realised this was addressed a few hours ago: #7021

With uv sync as-of uv 0.4.5 it works very nicely.

@leddy231
Copy link
Author

leddy231 commented Sep 4, 2024

Haha race condition with the issue, I could not find an open issue and the latest release at the time (0.4.4) did not have the fix yet.

@leddy231 leddy231 closed this as completed Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants