zigup icon indicating copy to clipboard operation
zigup copied to clipboard

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

Open XI2vGMst opened this issue 1 year ago • 9 comments

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.

XI2vGMst avatar Aug 24 '24 16:08 XI2vGMst

I second this

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

TotoShampoin avatar Aug 27 '24 16:08 TotoShampoin

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

XI2vGMst avatar Aug 31 '24 12:08 XI2vGMst

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

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

TotoShampoin avatar Aug 31 '24 13:08 TotoShampoin

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

XI2vGMst avatar Aug 31 '24 14:08 XI2vGMst

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?

marler8997 avatar Aug 31 '24 17:08 marler8997

Sounds good to me!

XI2vGMst avatar Sep 01 '24 08:09 XI2vGMst

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 ?

TotoShampoin avatar Sep 01 '24 16:09 TotoShampoin

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

XI2vGMst avatar Sep 02 '24 06:09 XI2vGMst

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

this works as well for the time being

ubermanu avatar Sep 24 '24 22:09 ubermanu