vfox
vfox copied to clipboard
[BUG]: The `.tool-versions` file does not switch automatically when it exists under windows powershell.
Version
0.9.1
OS
Windows 11
Describe the bug
- When switching to a directory containing the
tool-versionsfile in PowerShell, it does not automatically switch; tested with both Java and Node.js, neither worked. - The
Invoke-Expression "$(vfox activate pwsh)"has already been configured inMicrosoft.PowerShell_profile.ps1. - Strangely, when running
vfox list java, the arrow points to the switched version, but the switch did not actually take place
Screenshots[optional]
-
Microsoft.PowerShell_profile.ps1: -
.tool-versions:
我也有同样的问题,刚装上vfox时是正常的,突然有一天就不行了,需要自己手动切换版本;
还有,打开powershell窗口,首次使用java命令很慢;