Path update command does not work on Windows #6
Štítky
Bez štítku
Bez milníku
Bez zpracovatelů
2 účastníků
Oznámení
Termín dokončení
Žádný termín dokončení.
Závislosti
Nejsou nastaveny žádné závislosti.
Reference: root/pathman#6
Načítá se…
Odkázat v novém úkolu
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue:
Solution:
https://git.rootprojects.org/root/pathman/compare/master...DBBrowne:windows-path-update
https://stackoverflow.com/a/714918/15995918
$env:PATH += ";C:\Users_/.local/opt/go/bin"
I'd just assumed that if you were experienced enough to know to use PowerShell you'd also be experienced enough to know how to translate cmd.exe PATH to PowerShell PATH.
It's not possible to auto-detect which shell you're running it from between cmd.exe and powershell / pwsh.
Perhaps we could update the message to output both always.