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

Suggestion: User binary dir #331

Open
tdeck opened this issue Jan 14, 2025 · 0 comments
Open

Suggestion: User binary dir #331

tdeck opened this issue Jan 14, 2025 · 0 comments

Comments

@tdeck
Copy link

tdeck commented Jan 14, 2025

Many platforms have a directory for user binaries that is already part of the PATH. This is useful when your application wants to set up some helper utilities by symlinking them in so they're easily accessible.

For example, the XDG specification states:

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.

Although it doesn't provide an env var for this directory, for some reason.

On Windows I believe an equivalent directory would be %UserProfile%\AppData\Local\Microsoft\WindowsApps

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

1 participant