Repository navigation
refactor: use shims instead of direct operations on PATH - #256
Conversation
|
There's a problem on Windows, so change this to a draft. |
As I expected the directory to be the link instead of the executable file, many tools' executable programs will depend on the directory they are in. Just like https://github.com/Schniz/fnm |
Yes. It's not that big of a problem, we can just implement the program exactly as mentioned in #84. |
I like the soft link directory solution very much. I have used several version management tools using this method and it works well. I look forward to this implementation. |



fix #253
fix #84
fix #235
fix version-fox/vfox-golang#9
Instead of modifying the
PATHdirectly, this change uses the fixed path$VFOX_HOME/shimsand$VFOX_SHELL_TMEP/shimsinstead.Currently, the way to generate shim is very violent, later we need to ask plugins to tell
vfoxwhat bins need to be generated shim. see https://github.com/version-fox/vfox/discussions/191#discussioncomment-9064948