Skip to content

Commit 2c79036

Browse files
committed
Forgot to delete a line that copied system path into user path
1 parent 09c79ab commit 2c79036

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/jenv.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ if ($javaPaths.Length -gt 0) {
5858

5959
$Env:PATH = $userPath # Set for powershell users
6060
Set-Content -path "jenv.path.tmp" -value $userPath # Create temp file so no restart of the active shell is required
61-
[System.Environment]::SetEnvironmentVariable("PATH", $userPath, [System.EnvironmentVariableTarget]::User) # Set globally
6261
}
6362
#endregion
6463

0 commit comments

Comments
 (0)