Skip to content

[BUG]: The .tool-versions file does not switch automatically when it exists under windows powershell. #561

@nadirvishun

Description

@nadirvishun

Version
0.9.1
OS
Windows 11

Describe the bug

  • When switching to a directory containing the tool-versions file 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 in Microsoft.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:

    Image
  • .tool-versions:

    Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions