You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behavior I expected to see was a string of environmental folders.
From echo $path
/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Library/Application Support/GoodSync:/usr/local/lib/dnx/runtimes/dnx-coreclr-darwin-x64.1.0.0-rc1-update1/bin:/Users/{username}/.dnx/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin:/usr/local/share/dotnet:/usr/local/git/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands
Actual behavior
The actual behavior provide no information.
PS /Users/> $env:path
PS /Users/>
On Mac and Linux env variables are case-sensetive.
PowerShell should not try to wrap them in case-insensitive manner for the same reasons it should not try to wrap the filesystem.
Reacted by Andrew Busch, Clay Miller, Robb Vandaveer, Martin Hotmann and davec-fl
Activity
minoseah629 commentedon Dec 29, 2016
I just tried using $env:PATH and that provided the correct result.
I do not think the case should matter in this situation considering that other scripts will potentially use $env:path
vors commentedon Dec 29, 2016
On Mac and Linux env variables are case-sensetive.
PowerShell should not try to wrap them in case-insensitive manner for the same reasons it should not try to wrap the filesystem.