Skip to content

[Bug]: run command "scoop reset go" could not restore %PATH% in env variable. #6636

Open
@NextAbyss

Description

@NextAbyss

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

go

Expected/Current Behaviour

When i reset python or git it all useful to restore PATH in user env variable, only go PATH env variable can not implement.
So wish fix it.

Steps to Reproduce

remove "C:\Users\XX\go\bin" from my PATH.
run command "scoop reset go"
can not see "C:\Users\XX\go\bin" in PATH.

Possible Solution

NA

Scoop and Buckets Version

scoop --version
Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
950cd72f7 (HEAD -> master, origin/master, origin/HEAD) uv: Update to version 0.6.7

'extras' bucket:
36e70728c3 (HEAD -> master, origin/master, origin/HEAD) zed: Update to version 0.177.10

Scoop Config

scoop config

last_update                       scoop_repo                              scoop_branch
-----------                       ----------                              ------------
2025-03-18T15:41:14.2630444+08:00 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.26100.2161
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.26100.2161
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

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