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

pixi shell-hook outputs batch scripts when running in PowerShell #810

Closed
2 tasks done
melund opened this issue Feb 15, 2024 · 0 comments · Fixed by #811
Closed
2 tasks done

pixi shell-hook outputs batch scripts when running in PowerShell #810

melund opened this issue Feb 15, 2024 · 0 comments · Fixed by #811
Labels
🐞 bug Something isn't working

Comments

@melund
Copy link

melund commented Feb 15, 2024

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

On windows, in pwsh.exe

pixi shell-hook 

Issue description

On windows in powershell, the command pixi shell-hook outputs batch script instead of the powershell commands.

The documentation seem to indicate that it should detect the shell it is running in.

image

Also, the shell names are here written in CamelCase, when they should have been lowercase names.

Expected behavior

pixi shell-hook in powershell should output powershell script.

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.

1 participant