tristanisham / zvm

zvm (Zig Version Manager) lets you easily install/upgrade between different versions of Zig.

Home Page:https://www.zvm.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Follow XDG specification

glyh opened this issue · comments

Here's the description on Arch Linux: https://wiki.archlinux.org/title/XDG_Base_Directory

It would be nice if zvm follows the standard.

I filed a PR, please take a look :)

I do believe if you move your .zvm directory into .config/zvm and also your $PATH the program should just work. Could you please double check before writing any PRs?

I do think moving out of .zvm might be interesting. Maybe ZVM adds support for either .zvm or ~/.config/zvm. Checks the former before the latter for backwards compatibility (plus Windows builds).

I tried, zvm just ignored it. I have zvm installed with package manager, though(namely I don't have ZVM_INSTALL, and zvm is in my path taken cared by the package manager)

Also, may I ask which part of the program takes care of looking for zvm data in ~/.config/zvm?