-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Symlinks cause weirdness related to trailing slash #1775
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
Comments
I should add that after some poking around, sometimes the problem seems to resolve itself. I have not yet figured out what is happening to cause this. |
Agreed; bug reproduces. Listing the symlink should not require a trailing slash. |
This may be related to #2865 |
@chunqingchen can you validate if your PR for the related issue fixes this and if we need to add a test case for this issue? |
See if #2974 fixes this |
Still repros with #2974 |
@SteveL-MSFT @joeyaiello It seems this bug is OS version related but not powershell version related (the default powershell installed from ./tools/download.sh also passes). Shall we set this bug as not repro? |
This isn't repro'ing for me with beta1. Looks like it was fixed with another change. |
I found that tab expansion doesn't work in a symlinked folder. Investigation found that the shell can't see ANY items in the $PWD, but /something/ causes things to right themselves in the same session.
Steps to reproduce
Expected behavior
Output from case A should equal case B, but the "Directory name" should read "/tmp/test2".
Actual behavior
Case B shows only the file entry of the symlink. That would be ok in some cases, HOWEVER what you see is that this behavior affects lots of things like tab expansion. For example, to continue repro:
Note that you can get around some of the issues by manually appending a forward-slash. e.g.
dir test2/
.Environment data
OSX 10.11.6
The text was updated successfully, but these errors were encountered: