-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling Set-Location without any parameters changes location to %UserProfile% directory #6791
Comments
This was an explicit design decision (and yes, a breaking change from Windows PowerShell) mimicking Bash |
Coming from Windows it caught me by surprise. |
Is this change documented? |
@SteveL-MSFT It's really amazing behavior on Windows because Windows users expect in contrast to Unix that default working directory is /cc @mklement0 What do you think? |
The behavior is consistent: the equivalent locations - It is a fact of Windows life that creating files and folders directly in This asymmetry in how the That said, it would generally be handy for Set-Location -SpecialFolder MyDocuments See #6966 |
Steps to reproduce
Expected behavior
Actual behavior
Environment data
The text was updated successfully, but these errors were encountered: