-
Notifications
You must be signed in to change notification settings - Fork 814
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
Auto-completing path ending with & causes prompt to hang #6975
Comments
|
You are right. But what if you just want to autocomplete a path ending with Can you reproduce this issue? |
I was able to reproduce here, but wasn't curious enough to look what bash completion is up to specifically under FWIW, it isn't really all that fair to punt these ultimately cause #4197. It just isn't a particularly contemplated scenario on Real Linux™ to have two dozen (or more) paths to a slow network drive. You'd get the same behavior on a native box if that were a thing. Even if the Tab after the ampersand below... |
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Windows Build Number
Microsoft Windows [Version 10.0.19043.985]
WSL Version
Kernel Version
Linux version 5.4.72-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Oct 28 23:40:43 UTC 2020
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
&
), the path doesn't have to exist (e.g./test/&
), the issue occurs with non-existing and existing paths alike.Note that the prompt is now frozen, no shurtcut can bring back the prompt (like
Ctrl
+c
orCtrl
+z
).After a significant amount of time the prompt seems to reset while showing an error (because of the ampersand).
One real life example is navigating to a folder that contains an ampersand (nothing unusual, like the name of a company).
Expected Behavior
Auto-completion should work fine (or skip when path doesn't exist).
Actual Behavior
Prompt hangs for a significant amount of time and can't be reset.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: