Path update command does not work on Windows #6
Label
Kein Label
Kein Meilenstein
Niemand zuständig
2 Beteiligte
Nachrichten
Fällig am
Kein Fälligkeitsdatum gesetzt.
Abhängigkeiten
Keine Abhängigkeiten gesetzt.
Referenz: root/pathman#6
Laden…
In neuem Issue referenzieren
Keine Beschreibung angegeben.
Branch "%!s(<nil>)" löschen
Das Löschen eines Branches ist permanent. Obwohl der Branch für eine kurze Zeit weiter existieren könnte, kann diese Aktion in den meisten Fällen NICHT rückgängig gemacht werden. Fortfahren?
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.