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

Proposal: Rename the zig compiler storage directory from zig to .zig or .zig-compilers #148

Open
XI2vGMst opened this issue Aug 24, 2024 · 9 comments

Comments

@XI2vGMst
Copy link

I don't see a reason for this directory not to be hidden. I also consider just "zig" to be too generic of a name.

@TotoShampoin
Copy link

TotoShampoin commented Aug 27, 2024

I second this

I do not want my home directory to feel like Windows' Documents directory

@XI2vGMst
Copy link
Author

An even better idea: move it to .cache/zig-compilers

@TotoShampoin
Copy link

An even better idea: move it to .cache/zig-compilers

Eh, it's more a local storage than a cache, isn't it?

@XI2vGMst
Copy link
Author

I do agree but I think its the best we got and certainly an improvement to having the home directory cluttered with either dot-or-normal-files

@marler8997
Copy link
Owner

I think the next iteration I'll try using the Zig package cache to store the compilers. There's an open issue for this. At that point maybe all the zigup config/metadata will go into a single file? Maybe ~/.zigup?

@XI2vGMst
Copy link
Author

XI2vGMst commented Sep 1, 2024

Sounds good to me!

@TotoShampoin
Copy link

I do agree but I think its the best we got and certainly an improvement to having the home directory cluttered with either dot-or-normal-files

What about ~/.local/share and ~/.config ?

@XI2vGMst
Copy link
Author

XI2vGMst commented Sep 2, 2024

Personally I prefer @TotoShampoin s idea, but at in my opinion anything is better than nothing.

@ubermanu
Copy link

alias zigup="zigup --install-dir $HOME/.zigup/"

this works as well for the time being

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

4 participants