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

install-path XDG #287

Open
Gankra opened this issue Jul 24, 2023 · 1 comment
Open

install-path XDG #287

Gankra opened this issue Jul 24, 2023 · 1 comment
Labels
feature request New feature or request

Comments

@Gankra
Copy link
Member

Gankra commented Jul 24, 2023

There should be a way to tell install-path to try to use XDG dirs (quick skimming suggests that just means $HOME/.local/bin?). What exactly that means on windows is contentious, but if we have #286 we can just say "this doesn't make sense on windows" and ignore it in the cascade.

@Gankra Gankra added the feature request New feature or request label Jul 24, 2023
@konstin
Copy link

konstin commented Mar 26, 2024

I would like to ask to change the default to $HOME/.local/bin. Most tools written in rust aren't cargo tools, they are either standalone or tools for other languages (i for example write python tooling, where it is strange when it's in a cargo folder). The other advantage is that avoids editing the user dotfiles. From https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html:

User-specific executable files may be stored in $HOME/.local/bin. Distributions should ensure this directory shows up in the UNIX $PATH environment variable, at an appropriate place.

I don't know enough about windows to say what should be done there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants