It would be a cool feature to make the command 'path' or 'PATH' redirect you to the 'cd env:' environment because that is pretty much what it represents.
Is this a thing I just have never heard of that's common in Bash or something? I'm a bit lost as to what the intended effect is, to be honest.
Anyway, you can do something like this by defining a short function in your profile:
function path {
Set-Location env:
}
This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes.
Most helpful comment
Is this a thing I just have never heard of that's common in Bash or something? I'm a bit lost as to what the intended effect is, to be honest.
Anyway, you can do something like this by defining a short function in your profile: