marler8997 / zigup

Download and manage zig compilers.
MIT No Attribution
784 stars 61 forks source link

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

Open XI2vGMst opened 3 months ago

XI2vGMst commented 3 months ago

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 commented 3 months ago

I second this

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

XI2vGMst commented 2 months ago

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

TotoShampoin commented 2 months ago

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

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

XI2vGMst commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

Sounds good to me!

TotoShampoin commented 2 months ago

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 commented 2 months ago

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

ubermanu commented 2 months ago
alias zigup="zigup --install-dir $HOME/.zigup/"

this works as well for the time being