For context, I'm referring to tools similar to mise (https://mise.jdx.dev/), which i will use as the example here.
I followed the installation instructions for mise (i.e. curl https://mise.run | sh), which installs to ~/.local/... by default.
Some questions I have:
-
how does the isolation work for vso shell and subsystems in general? I think I ran the installation in vso shell and found myself surprised that mise (and anything I installed with it) became available system-wide (i.e. can be invoked by other subsystems). I even wiped the mise installation and reran the installation command in a new subsystem that I created, but the result seemed to be the same. I thought that it would be only available in that subsystem and I would have to export the bins. Is
~/.local/...some special case? -
follow-up to 1: is it okay that such a tool is installed as a system-wide thing? My initial intuition was that it would be more "idiomatic" to have it isolated within its own subsystem, exporting things as necessary. part of me thinks that this would be inconvenient though
-
are changes to files like
~/.bashrcnot isolated per subsystem? seems like that's the case but for some reason I thought each subsystem would have their own version of the file.
Maybe i don't really understand subsystems well enough yet. Part of me feels like I'm "holding it wrong" in this case, even though it currently works for me. Haven't read through the docs in full yet (I find them generally hard to navigate).
mise-en-place documentation