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

Spaces in paths don't work on macOS in Fish #54

Open
hynek opened this issue Dec 12, 2023 · 2 comments
Open

Spaces in paths don't work on macOS in Fish #54

hynek opened this issue Dec 12, 2023 · 2 comments

Comments

@hynek
Copy link

hynek commented Dec 12, 2023

When Hatch installs a Python version, the paths have spaces. E.g., /Users/hynek/Library/Application Support/hatch/pythons/pypy2.7/pypy2.7-v7.3.12-macos_arm64/bin

userpath adds this to my ~/.config/fish/config.fish:

# Created by `userpath` on 2023-12-12 07:22:33
set PATH $PATH /Users/hynek/Library/Application Support/hatch/pythons/pypy2.7/pypy2.7-v7.3.12-macos_arm64/bin

That doesn't work. If I add quotes around the path, it does.

Unrelatedly, you may to switch to fish_add_path --append which is more elegant (but also needs quotes).

@ofek
Copy link
Owner

ofek commented Dec 12, 2023

Thanks! Would you be interested in opening a PR?

@hynek
Copy link
Author

hynek commented Dec 13, 2023

no promises, but could you add a contributing.md that explains how to run the tests?

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