hendriknielaender / zvm

⚡ Fast and simple zig version manager
MIT License
22 stars 3 forks source link

idea: use syscall `exec` on linux or mac ? #48

Closed jinzhongjia closed 2 months ago

jinzhongjia commented 3 months ago

What do you think about adding exec syscall for linux and mac, which allows users or linux distributions to directly softlink zvm, and maybe we can try to adjust zvm's config dir to compile-time settings?

hendriknielaender commented 3 months ago

Yeah that sounds great 👍

jinzhongjia commented 3 months ago

ok, I will try to implement it

jinzhongjia commented 3 months ago

What do you think about introducing external packages? I think the current command line parsing part is not complete. It would be better to introduce an external command line parsing package.

jinzhongjia commented 3 months ago

If it is completely implemented internally, it would be a waste to reinvent the wheel.

hendriknielaender commented 3 months ago

Why would we need an external package for that? Which feature do we need?

jinzhongjia commented 3 months ago

Some of the features implemented so far are indeed sufficient, but I think it is not elegant.