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

Activation prompt shows wrong path on windows and nushell #2687

Closed
BenediktMaag opened this issue Mar 27, 2024 · 2 comments · Fixed by #2690
Closed

Activation prompt shows wrong path on windows and nushell #2687

BenediktMaag opened this issue Mar 27, 2024 · 2 comments · Fixed by #2690
Assignees
Labels
bug Something isn't working

Comments

@BenediktMaag
Copy link

When creating an environment in nushell (uv venv) it tells me how to activate:

  • Activate with: overlay use .venv\bin\activate.nu

Since I am on windows, the subfolder containing the activation files is called Scripts.
When creating the environment within powershell the prompt points to the right folder:

  • Activate with: .venv\Scripts\activate
@BenediktMaag BenediktMaag changed the title Activation prompt show wrong path Activation prompt shows wrong path on windows and nushell Mar 27, 2024
@charliermarsh charliermarsh added the bug Something isn't working label Mar 27, 2024
@charliermarsh
Copy link
Member

What's the "correct" invocation on nushell on Windows?

@BenediktMaag
Copy link
Author

overlay use .venv\Scripts\activate.nu

@charliermarsh charliermarsh self-assigned this Mar 27, 2024
charliermarsh added a commit that referenced this issue Mar 27, 2024
## Summary

We shouldn't assume that you're on Unix when using Nushell.

Closes #2687.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants