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
Completing a folder misses an escape on the first char #2274
Comments
I can't reproduce with that specific case:
I can however get this if I enter a literal "[" and then complete. Fish will complete the file, but won't escape the "[" (and then highlight it as invalid). |
@faho Then that was that. |
Oh, and aditionally: When starting the completion item with |
I noticed today when yarn created a directory named So imagine you're typing |
I ran into this issue today (Fish 2.7.1), and was ready to file a new issue report when I found this one. Here's an asciicast: This can cause a surprising behavior when interacting with a file named Notice that the tilde is actually escaped in the list of completion suggestions before selecting one, oddly enough. |
Hooooo, boy. That’s bad. |
This should be fixed in 01d8745. Thanks for filing! |
Which fish release will include that fix? Is there a schedule for 2.7.2? |
@XenGi: Like the milestone says, 3.0. Which is the next release and expected in the near future.
No. We don't have the man power to maintain multiple release branches. |
ah. didn't see that. thx! |
When completing a folder and selecting an entry from the list, if that entry starts with a character that should be escaped, it isn’t.
Example:
~/Downloads/[TAB TAB TAB
select entry
[foobar] my file
Completion:
~/Downloads/[foobar\]\ my\ file
Note the missing
\
before the first[
.The text was updated successfully, but these errors were encountered: